1
0
Fork 0

Disable memo for Icon

Too many memoization going on here
This commit is contained in:
Lim Chee Aun 2023-12-24 21:05:43 +08:00
parent 8ca768b957
commit c54a15de11

View file

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