]> git.r.bdr.sh - rbdr/prompt/blob - src/routes/[locale]/index.svelte
d8e8050ee17bc6041796c02c6f51caa57db6fbbc
[rbdr/prompt] / src / routes / [locale] / index.svelte
1 <script context="module">
2 export async function load({ page }) {
3 return {
4 props: {
5 locale: page.params.locale
6 }
7 }
8 }
9 </script>
10 <script>
11 import NewPrompt from '$lib/components/new_prompt.svelte';
12 export let locale;
13 </script>
14 <NewPrompt locale={locale} />