Commit
•
9db9b26
1
Parent(s):
f177e4b
🚨 Small cleanup (#133)
Browse filesCo-authored-by: Victor Mustar <victor.mustar@gmail.com>
src/lib/components/MobileNav.svelte
CHANGED
@@ -9,7 +9,7 @@
|
|
9 |
import CarbonTextAlignJustify from "~icons/carbon/text-align-justify";
|
10 |
|
11 |
export let isOpen = false;
|
12 |
-
export let title: string;
|
13 |
|
14 |
$: title = title || "New Chat";
|
15 |
|
|
|
9 |
import CarbonTextAlignJustify from "~icons/carbon/text-align-justify";
|
10 |
|
11 |
export let isOpen = false;
|
12 |
+
export let title: string | undefined;
|
13 |
|
14 |
$: title = title || "New Chat";
|
15 |
|
src/lib/components/chat/ChatIntroduction.svelte
CHANGED
@@ -10,7 +10,6 @@
|
|
10 |
import CarbonArrowUpRight from "~icons/carbon/arrow-up-right";
|
11 |
import CarbonEarth from "~icons/carbon/earth";
|
12 |
import { createEventDispatcher } from "svelte";
|
13 |
-
console.log(PUBLIC_VERSION);
|
14 |
const dispatch = createEventDispatcher<{ message: string }>();
|
15 |
</script>
|
16 |
|
|
|
10 |
import CarbonArrowUpRight from "~icons/carbon/arrow-up-right";
|
11 |
import CarbonEarth from "~icons/carbon/earth";
|
12 |
import { createEventDispatcher } from "svelte";
|
|
|
13 |
const dispatch = createEventDispatcher<{ message: string }>();
|
14 |
</script>
|
15 |
|
src/routes/+layout.svelte
CHANGED
@@ -12,8 +12,6 @@
|
|
12 |
|
13 |
import MobileNav from "$lib/components/MobileNav.svelte";
|
14 |
import NavMenu from "$lib/components/NavMenu.svelte";
|
15 |
-
import Logo from "$lib/components/icons/Logo.svelte";
|
16 |
-
import Modal from "$lib/components/Modal.svelte";
|
17 |
import Toast from "$lib/components/Toast.svelte";
|
18 |
import EthicsModal from "$lib/components/EthicsModal.svelte";
|
19 |
|
|
|
12 |
|
13 |
import MobileNav from "$lib/components/MobileNav.svelte";
|
14 |
import NavMenu from "$lib/components/NavMenu.svelte";
|
|
|
|
|
15 |
import Toast from "$lib/components/Toast.svelte";
|
16 |
import EthicsModal from "$lib/components/EthicsModal.svelte";
|
17 |
|