We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3fd838e commit 8a3914cCopy full SHA for 8a3914c
src/lib/components/SettingsModal.svelte
@@ -4,13 +4,13 @@
4
import Modal from "$lib/components/Modal.svelte";
5
import CarbonClose from "~icons/carbon/close";
6
import Switch from "$lib/components/Switch.svelte";
7
- import type { Settings } from "$lib/types/Settings";
8
import { enhance } from "$app/forms";
9
import { base } from "$app/paths";
10
import { PUBLIC_APP_DATA_SHARING } from "$env/static/public";
11
import type { Model } from "$lib/types/Model";
+ import type { LayoutData } from "../../routes/$types";
12
13
- export let settings: Settings;
+ export let settings: LayoutData["settings"];
14
export let models: Array<Model>;
15
16
let shareConversationsWithModelAuthors = settings.shareConversationsWithModelAuthors;
0 commit comments