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