Fix "log in", "log out" to "sign in", "sign out" (#7739)

* log to sign

* logged to signed
This commit is contained in:
Minseo Lee
2025-02-18 01:52:06 +09:00
committed by GitHub
parent 326445d3af
commit d805dec08f
22 changed files with 35 additions and 33 deletions
@@ -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,