Skip to content

Commit 8cfbb9d

Browse files
Fix issues
Update +layout.svelte
1 parent 1a9b1ca commit 8cfbb9d

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

src/frontend/src/routes/(needs_onboarding)/(navbar_and_footer)/(upload)/+page.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { prefetch } from '#queries/config';
22
import { definePageMetaTags } from 'svelte-meta-tags';
33
import type { PageLoad } from './$types';
44

5-
export const load: PageLoad = async ({ parent }) => {
5+
export const load: PageLoad = async ({ parent, fetch }) => {
66
const { queryClient } = await parent();
77

88
prefetch({ queryClient: queryClient, fetch });

src/frontend/src/routes/(needs_onboarding)/(navbar_and_footer)/+layout.svelte

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,9 @@
104104
const href = (env as Record<string, string | undefined>)[key];
105105
106106
if (href && !footerLinks.some((link) => link.href === href)) {
107-
const module = await import(`@icons-pack/svelte-simple-icons/icons/${path}.svelte`);
107+
const module = await import(
108+
`@icons-pack/svelte-simple-icons/icons/${path}.svelte` /* @vite-ignore */
109+
);
108110
109111
footerLinks.push({
110112
href,

0 commit comments

Comments
 (0)