Shared:IconButton:Fixed flickering of quick buttons with color when adding/hiding a column.

This commit is contained in:
Vlada Gazizova 2024-08-05 17:55:23 +03:00
parent 393fb016b3
commit 902feb3654

View File

@ -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;