Skip to content

Commit

Permalink
fix: missing default tag in grid layout
Browse files Browse the repository at this point in the history
  • Loading branch information
deansallinen committed Dec 18, 2024
1 parent 863b76f commit 719dad5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/components/layout/grid.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
itemWidth?: string;
}
const { tag, children, itemWidth = '20ch', class: className, ...props }: Props = $props();
const { tag = 'div', children, itemWidth = '20ch', class: className, ...props }: Props = $props();
</script>

<svelte:element
Expand Down

0 comments on commit 719dad5

Please sign in to comment.