diff options
author | Minseo Lee <itoupluk427@gmail.com> | 2025-02-18 01:52:06 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-02-17 10:52:06 -0600 |
commit | d805dec08fa58dd0828eabc8b56d9a5abd81f825 (patch) | |
tree | 7c78f1b8f32b859bee03a3c8f0c4e4baafeb0f4a /src/state/queries/messages/actor-declaration.ts | |
parent | 326445d3af894080a5487b403e094000cda1f765 (diff) | |
download | voidsky-d805dec08fa58dd0828eabc8b56d9a5abd81f825.tar.zst |
Fix "log in", "log out" to "sign in", "sign out" (#7739)
* log to sign * logged to signed
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, |