Skip to content

Commit 8a3914c

Browse files
committed
types fix in SettingsModal.svelte
1 parent 3fd838e commit 8a3914c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/lib/components/SettingsModal.svelte

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
import Modal from "$lib/components/Modal.svelte";
55
import CarbonClose from "~icons/carbon/close";
66
import Switch from "$lib/components/Switch.svelte";
7-
import type { Settings } from "$lib/types/Settings";
87
import { enhance } from "$app/forms";
98
import { base } from "$app/paths";
109
import { PUBLIC_APP_DATA_SHARING } from "$env/static/public";
1110
import type { Model } from "$lib/types/Model";
11+
import type { LayoutData } from "../../routes/$types";
1212
13-
export let settings: Settings;
13+
export let settings: LayoutData["settings"];
1414
export let models: Array<Model>;
1515
1616
let shareConversationsWithModelAuthors = settings.shareConversationsWithModelAuthors;

0 commit comments

Comments
 (0)