Skip to content

Commit

Permalink
Remove vanilla in Match
Browse files Browse the repository at this point in the history
  • Loading branch information
barvian committed Oct 28, 2024
1 parent c7de702 commit b425d6c
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions site/src/components/Match.astro
Original file line number Diff line number Diff line change
Expand Up @@ -47,14 +47,5 @@ const noBool = typeof react !== 'boolean' && typeof vue !== 'boolean' && typeof
) : (
(svelte || noBool) && <slot />
))
}{
framework === 'vanilla' &&
(typeof vanilla == 'string' ? (
vanilla
) : Astro.slots.has('vanilla') ? (
<slot name="vanilla" />
) : (
(vanilla || noBool) && <slot />
))
}</Tag
>

0 comments on commit b425d6c

Please sign in to comment.