Skip to content

Commit

Permalink
fix: remove content visibility from link
Browse files Browse the repository at this point in the history
  • Loading branch information
sushichan044 committed Nov 29, 2023
1 parent 66ccc56 commit 3740cd4
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/components/base/Link.astro
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
import type { VariantProps } from "tailwind-variants"
import LinkStyle from "@/components/style/link"
import s from "@/components/utils/content-visibility.module.scss"
import type { PropsWithoutStyle } from "@/utils/@types/propsWithoutStyle"
type Props = PropsWithoutStyle<"a", "astro"> & {
Expand All @@ -12,5 +11,4 @@ type Props = PropsWithoutStyle<"a", "astro"> & {
const { variants, href, ...props } = Astro.props
---

<a class:list={[LinkStyle(variants), s.root]} href={href} {...props}><slot /></a
>
<a class:list={[LinkStyle(variants)]} href={href} {...props}><slot /></a>

0 comments on commit 3740cd4

Please sign in to comment.