Skip to content

Commit 95191dd

Browse files
committed
chore: make shared composable
1 parent e8b2f5a commit 95191dd

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

app/composables/atproto/useAtproto.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import type { UserSession } from '#shared/schemas/userSession'
22

3-
export function useAtproto() {
3+
export const useAtproto = createSharedComposable(function useAtproto() {
44
const {
55
data: user,
66
pending,
@@ -19,4 +19,4 @@ export function useAtproto() {
1919
}
2020

2121
return { user, pending, logout }
22-
}
22+
})

0 commit comments

Comments
 (0)