fix problem
This commit is contained in:
@@ -46,6 +46,7 @@ const Header: FC<HeaderProps> = ({ hasMainSidebar = true, sidebarSize = 'default
|
||||
|
||||
useEffect(() => {
|
||||
setSearch('')
|
||||
// eslint-disable-next-line react-hooks/exhaustive-deps
|
||||
}, [location.pathname])
|
||||
|
||||
return (
|
||||
|
||||
Reference in New Issue
Block a user