diff options
Diffstat (limited to 'src/state/queries/messages/actor-declaration.ts')
-rw-r--r-- | src/state/queries/messages/actor-declaration.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/state/queries/messages/actor-declaration.ts b/src/state/queries/messages/actor-declaration.ts index 1105e2b3c..828b85d9e 100644 --- a/src/state/queries/messages/actor-declaration.ts +++ b/src/state/queries/messages/actor-declaration.ts @@ -18,7 +18,7 @@ export function useUpdateActorDeclaration({ return useMutation({ mutationFn: async (allowIncoming: 'all' | 'none' | 'following') => { - if (!currentAccount) throw new Error('Not logged in') + if (!currentAccount) throw new Error('Not signed in') const result = await agent.api.com.atproto.repo.putRecord({ repo: currentAccount.did, collection: 'chat.bsky.actor.declaration', @@ -68,7 +68,7 @@ export function useDeleteActorDeclaration() { return useMutation({ mutationFn: async () => { - if (!currentAccount) throw new Error('Not logged in') + if (!currentAccount) throw new Error('Not signed in') // TODO(sam): remove validate: false once PDSes have the new lexicon const result = await agent.api.com.atproto.repo.deleteRecord({ repo: currentAccount.did, |