Remove outdated todo

This commit is contained in:
Eric Bailey
2025-01-07 17:18:06 -06:00
parent 763dd5b6e2
commit 839be5f3b2
@@ -69,12 +69,10 @@ export function useDeleteActorDeclaration() {
return useMutation({
mutationFn: async () => {
if (!currentAccount) throw new Error('Not logged in')
// TODO(sam): remove validate: false once PDSes have the new lexicon
const result = await agent.api.com.atproto.repo.deleteRecord({
repo: currentAccount.did,
collection: 'chat.bsky.actor.declaration',
rkey: 'self',
validate: false,
})
return result
},