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:
parent
9654ce7430
commit
78081be782
2 changed files with 3 additions and 2 deletions
|
|
@ -1,4 +1,4 @@
|
||||||
import { cn } from "../../../../utils/utils";
|
import { cn } from "@/utils/utils";
|
||||||
|
|
||||||
export default function ResetColumns({
|
export default function ResetColumns({
|
||||||
resetGrid,
|
resetGrid,
|
||||||
|
|
|
||||||
|
|
@ -105,7 +105,8 @@ export default function TableOptions({
|
||||||
name="RotateCcw"
|
name="RotateCcw"
|
||||||
strokeWidth={2}
|
strokeWidth={2}
|
||||||
className={cn(
|
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>
|
</Button>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue