Fix "log in", "log out" to "sign in", "sign out" (#7739)
* log to sign * logged to signed
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user