Skip to content

Commit 9bc6a48

Browse files
committed
fix(index): update imports for usePrefetch and useRemember
Change imports of usePrefetch and useRemember to reference their .svelte files directly. This ensures correct module resolution and compatibility with Svelte's file conventions.
1 parent 1c8dfe1 commit 9bc6a48

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/svelte5/src/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@ export { default as page } from './page'
99
export { type ResolvedComponent } from './types'
1010
export { default as useForm, type InertiaForm, type InertiaFormProps } from './useForm'
1111
export { default as usePoll } from './usePoll'
12-
export { default as usePrefetch } from './usePrefetch'
13-
export { default as useRemember } from './useRemember'
12+
export { default as usePrefetch } from './usePrefetch.svelte'
13+
export { default as useRemember } from './useRemember.svelte'

0 commit comments

Comments
 (0)