Skip to content

Commit 1462eb7

Browse files
committed
fix: rely on inferred types
1 parent f04e9fc commit 1462eb7

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

app/composables/useAtproto.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
1-
import type { PublicUserSession } from '#shared/schemas/publicUserSession'
2-
31
export function useAtproto() {
42
const {
53
data: user,
64
pending,
75
clear,
8-
} = useFetch<PublicUserSession | null>('/api/auth/session', {
6+
} = useFetch('/api/auth/session', {
97
server: false,
108
immediate: !import.meta.test,
119
})

0 commit comments

Comments
 (0)