refactor: group some utility classes

This commit is contained in:
rusconn
2023-06-24 19:11:57 +09:00
parent 8d658855ac
commit 3112e80544
8 changed files with 51 additions and 11 deletions

View File

@@ -16,8 +16,9 @@ function RawToolLink({ Icon, shortTitle: title, href, onClick, className, highli
return (
<Link
className={cn(
"flex h-10 items-center gap-3 rounded hover:bg-accent",
"flex h-10 items-center gap-3 rounded",
highlight === "both" && "bg-accent",
"hover:bg-accent",
className
)}
{...{ href, onClick }}