docs: Fix Svelte tutorial import snippet (#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.
This commit is contained in:
Pulkit Batra authored and GitHub committed 2023-11-06 12:54:15 +00:00
1 parent 67367d7f4e
commit e835b898d7
1 file changed
+1 -1
@@ -66,7 +66,7 @@ Let's set up a Svelte component to manage logins and sign ups. We'll use Magic L
```html src/lib/Auth.svelte
<script lang="ts">
import { supabase } from 'src/supabaseClient'
import { supabase } from '../supabaseClient'
let loading = false
let email = ''