chore: update import paths and button icon styles in table component (#5094)

📝 (frontend): update import paths to use absolute paths for better module resolution
🔧 (frontend): refactor TableOptions component to improve styling and conditional class application
This commit is contained in:
Cristhian Zanforlin Lousa 2024-12-06 09:50:25 -03:00 committed by GitHub
commit 78081be782
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 3 additions and 2 deletions

View file

@ -1,4 +1,4 @@
import { cn } from "../../../../utils/utils";
import { cn } from "@/utils/utils";
export default function ResetColumns({
resetGrid,

View file

@ -105,7 +105,8 @@ export default function TableOptions({
name="RotateCcw"
strokeWidth={2}
className={cn(
"h-5 w-5 text-primary transition-all hover:text-accent-foreground",
"h-5 w-5 transition-all",
!stateChange ? "text-muted-foreground" : "text-primary",
)}
/>
</Button>