Skip to content

Commit 57cb8e1

Browse files
committed
tmp
1 parent 06e2301 commit 57cb8e1

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

src/pages/developers/tutorials.tsx

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ import TutorialTags from "@/components/TutorialTags"
1919
import { Button, ButtonLink } from "@/components/ui/buttons/Button"
2020
import Modal from "@/components/ui/dialog-modal"
2121
import { Flex, FlexProps } from "@/components/ui/flex"
22-
import { Tag, TagButton } from "@/components/ui/tag"
22+
import { Tag } from "@/components/ui/tag"
2323

2424
import { cn } from "@/lib/utils/cn"
2525
import { existsNamespace } from "@/lib/utils/existsNamespace"
@@ -49,15 +49,16 @@ const FilterTag = forwardRef<{ isActive: boolean; name: string }, "button">(
4949
(props, ref) => {
5050
const { isActive, name, ...rest } = props
5151
return (
52-
<TagButton
53-
ref={ref}
52+
<Tag
5453
variant={isActive ? "solid" : "outline"}
5554
status={isActive ? "tag" : "normal"}
56-
className="justify-center"
57-
{...rest}
55+
className="hover:border-primary-hover"
56+
asChild
5857
>
59-
{name}
60-
</TagButton>
58+
<Button ref={ref} {...rest}>
59+
{name}
60+
</Button>
61+
</Tag>
6162
)
6263
}
6364
)

0 commit comments

Comments
 (0)