Skip to content

Commit

Permalink
fix: type errors
Browse files Browse the repository at this point in the history
  • Loading branch information
deansallinen committed Dec 17, 2024
1 parent 6e83c83 commit 7a72e6b
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/routes/[network]/(homepage)/components/hero.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,12 @@
import bgDesktop from '$lib/assets/hero/[email protected]?enhanced';
import bgMobile from '$lib/assets/hero/[email protected]?enhanced';
let { networkName, networkLogo } = $props();
interface Props {
networkName: string;
networkLogo: string;
}
let { networkName, networkLogo }: Props = $props();
</script>

<section id="hero" class="col-span-full grid grid-cols-subgrid gap-y-14 pt-6 md:items-center">
Expand Down

0 comments on commit 7a72e6b

Please sign in to comment.