Skip to content

Commit

Permalink
fix: type error in seoconfig
Browse files Browse the repository at this point in the history
  • Loading branch information
deansallinen committed Oct 2, 2024
1 parent c2befad commit 9442d40
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/routes/+layout.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import '../app.css';
import 'inter-ui/inter-latin.css';
import extend from 'just-extend';
import { onMount, setContext, untrack } from 'svelte';
import { setContext, untrack } from 'svelte';
import { Head, type SeoConfig } from 'svead';
import { ParaglideJS } from '@inlang/paraglide-sveltekit';
Expand Down Expand Up @@ -56,8 +56,8 @@
});
});
const seo_config: SeoConfig = $derived<SeoConfig>(
extend({}, data.baseMetaTags, $page.data?.pageMetaTags)
const seo_config = $derived<SeoConfig>(
extend({}, data.baseMetaTags, $page.data?.pageMetaTags) as SeoConfig
);
</script>

Expand Down

0 comments on commit 9442d40

Please sign in to comment.