Disable memo for Icon
Too many memoization going on here
This commit is contained in:
parent
8ca768b957
commit
c54a15de11
|
@ -1,4 +1,3 @@
|
|||
import { memo } from 'preact/compat';
|
||||
import { useEffect, useRef, useState } from 'preact/hooks';
|
||||
|
||||
const SIZES = {
|
||||
|
@ -165,4 +164,4 @@ function Icon({
|
|||
);
|
||||
}
|
||||
|
||||
export default memo(Icon);
|
||||
export default Icon;
|
||||
|
|
Loading…
Reference in a new issue