We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f04e9fc commit 1462eb7Copy full SHA for 1462eb7
1 file changed
app/composables/useAtproto.ts
@@ -1,11 +1,9 @@
1
-import type { PublicUserSession } from '#shared/schemas/publicUserSession'
2
-
3
export function useAtproto() {
4
const {
5
data: user,
6
pending,
7
clear,
8
- } = useFetch<PublicUserSession | null>('/api/auth/session', {
+ } = useFetch('/api/auth/session', {
9
server: false,
10
immediate: !import.meta.test,
11
})
0 commit comments