Skip to content

Commit e835b89

Browse files
authored
docs: Fix Svelte tutorial import snippet (supabase#18729)
The error message I receive is: "Cannot find module 'src/supabaseClient' or its corresponding type declarations." This error indicates that the TypeScript compiler is unable to locate the module I'm trying to import.
1 parent 67367d7 commit e835b89

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/docs/pages/guides/getting-started/tutorials/with-svelte.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ Let's set up a Svelte component to manage logins and sign ups. We'll use Magic L
6666

6767
```html src/lib/Auth.svelte
6868
<script lang="ts">
69-
import { supabase } from 'src/supabaseClient'
69+
import { supabase } from '../supabaseClient'
7070
7171
let loading = false
7272
let email = ''

0 commit comments

Comments
 (0)