Skip to content

Commit 594cddc

Browse files
committed
fix: declare group; align component name
1 parent 08b816b commit 594cddc

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/components/Search/SearchInputButton.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import { cn } from "@/lib/utils/cn"
66

77
import { Button, type ButtonProps } from "../ui/buttons/Button"
88

9-
const SearchButton = React.forwardRef<HTMLButtonElement, ButtonProps>(
9+
const SearchInputButton = React.forwardRef<HTMLButtonElement, ButtonProps>(
1010
({ className, ...props }, ref) => {
1111
const { t } = useTranslation("common")
1212

@@ -16,7 +16,7 @@ const SearchButton = React.forwardRef<HTMLButtonElement, ButtonProps>(
1616
aria-label={t("aria-toggle-search-button")}
1717
variant="ghost"
1818
className={cn(
19-
"me-3 border border-disabled hover:border-primary-hover",
19+
"group me-3 border border-disabled hover:border-primary-hover",
2020
className
2121
)}
2222
{...props}
@@ -33,6 +33,6 @@ const SearchButton = React.forwardRef<HTMLButtonElement, ButtonProps>(
3333
}
3434
)
3535

36-
SearchButton.displayName = "SearchButton"
36+
SearchInputButton.displayName = "SearchButton"
3737

38-
export default SearchButton
38+
export default SearchInputButton

0 commit comments

Comments
 (0)