mirror of
https://github.com/streetwriters/notesnook.git
synced 2025-12-29 00:20:04 +01:00
web: fix color not setting on icons
This commit is contained in:
@@ -249,7 +249,10 @@ function _MDIIconWrapper({
|
||||
}
|
||||
const MDIIconWrapper = memo(
|
||||
_MDIIconWrapper,
|
||||
(prev, next) => prev.rotate === next.rotate
|
||||
(prev, next) =>
|
||||
prev.rotate === next.rotate &&
|
||||
prev.color === next.color &&
|
||||
prev.title === next.title
|
||||
);
|
||||
|
||||
export type IconProps = FlexProps &
|
||||
|
||||
Reference in New Issue
Block a user