Disable memo for Icon

Too many memoization going on here
pull/375/head
Lim Chee Aun 2023-12-24 21:05:43 +08:00
rodzic 8ca768b957
commit c54a15de11
1 zmienionych plików z 1 dodań i 2 usunięć

Wyświetl plik

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