score:1

useEffect(() => {
    setHideNavItems(matchMedia);
}, [matchMedia]);

Related Query

More Query from same tag