Just in case, probably not needed
This commit is contained in:
parent
e7d2d088ba
commit
f23e4b0dd9
|
@ -1,6 +1,7 @@
|
|||
import './nav-menu.css';
|
||||
|
||||
import { ControlledMenu, MenuDivider, MenuItem } from '@szhsin/react-menu';
|
||||
import { memo } from 'preact/compat';
|
||||
import { useEffect, useRef, useState } from 'preact/hooks';
|
||||
import { useLongPress } from 'use-long-press';
|
||||
import { useSnapshot } from 'valtio';
|
||||
|
@ -303,4 +304,4 @@ function NavMenu(props) {
|
|||
);
|
||||
}
|
||||
|
||||
export default NavMenu;
|
||||
export default memo(NavMenu);
|
||||
|
|
Loading…
Reference in a new issue