Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

Add missing lang attribute to script tag

Andrew Smith8215919d4ebd
diff --git a/apps/reference/docs/guides/with-svelte.mdx b/apps/reference/docs/guides/with-svelte.mdx
index be3d2b0ede6..9b42cbc9a51 100644
--- a/apps/reference/docs/guides/with-svelte.mdx
+++ b/apps/reference/docs/guides/with-svelte.mdx
@@ -487,7 +487,7 @@ Let's create an avatar for the user so that they can upload a profile photo. We
And then we can add the widget to the Account page:
```html title="src/lib/Account.svelte"
-<script>
+<script lang="ts">
// Import the new component
import Avatar from './Avatar.svelte'
</script>