mirror of
https://github.com/nowcommunity/nowdatabase.git
synced 2026-10-12 19:13:52 +03:00
re-enable useSyncTabSearch
This commit is contained in:
@@ -18,7 +18,6 @@ export const useSyncTabSearch = (tab: number) => {
|
||||
}, [location.key, location.state])
|
||||
|
||||
useEffect(() => {
|
||||
return
|
||||
const params = new URLSearchParams(location.search)
|
||||
if (params.get('tab') === String(tab)) return
|
||||
|
||||
|
||||
Reference in New Issue
Block a user