Skip to content

Commit ed00e9e

Browse files
committed
Revert "tmp"
This reverts commit 57cb8e1.
1 parent 0e518b8 commit ed00e9e

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

src/pages/developers/tutorials.tsx

Lines changed: 7 additions & 8 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 } from "@/components/ui/tag"
22+
import { Tag, TagButton } from "@/components/ui/tag"
2323

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

0 commit comments

Comments
 (0)