From 7a72e6bf2c26ca44a4de8d39769c4f411bceae9d Mon Sep 17 00:00:00 2001 From: Dean Sallinen <7519573+deansallinen@users.noreply.github.com> Date: Tue, 17 Dec 2024 14:20:20 -0800 Subject: [PATCH] fix: type errors --- src/routes/[network]/(homepage)/components/hero.svelte | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/routes/[network]/(homepage)/components/hero.svelte b/src/routes/[network]/(homepage)/components/hero.svelte index 1d137214..5fbbdcc9 100644 --- a/src/routes/[network]/(homepage)/components/hero.svelte +++ b/src/routes/[network]/(homepage)/components/hero.svelte @@ -4,7 +4,12 @@ import bgDesktop from '$lib/assets/hero/bg1@2x.png?enhanced'; import bgMobile from '$lib/assets/hero/bg2@2x.png?enhanced'; - let { networkName, networkLogo } = $props(); + interface Props { + networkName: string; + networkLogo: string; + } + + let { networkName, networkLogo }: Props = $props();