Skip to content

Commit 181d044

Browse files
danielroefatfingers23
authored andcommitted
chore: make shared composable
1 parent b8792f9 commit 181d044

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)