Shared:IconButton:Fixed flickering of quick buttons with color when adding/hiding a column.
This commit is contained in:
parent
393fb016b3
commit
902feb3654
@ -64,7 +64,7 @@ const IconButton = ({
|
||||
const [currentIconName, setCurrentIconName] = React.useState(iconName);
|
||||
const [currentIconColor, setCurrentIconColor] = React.useState<
|
||||
string | undefined
|
||||
>(iconName);
|
||||
>(color);
|
||||
|
||||
const onMouseEnterAction = (e: React.MouseEvent) => {
|
||||
if (isDisabled) return;
|
||||
|
Loading…
Reference in New Issue
Block a user