mirror of
https://github.com/cheeaun/phanpy.git
synced 2025-02-16 07:11:15 +03:00
Disable memo for Icon
Too many memoization going on here
This commit is contained in:
parent
8ca768b957
commit
c54a15de11
1 changed files with 1 additions and 2 deletions
|
@ -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…
Add table
Reference in a new issue