Narrow query cleanup effect dependency
cgen-c103048d037745d9b801200022ee241e
This commit is contained in:
parent
0303c996a3
commit
707d4959ec
1 changed files with 1 additions and 1 deletions
|
|
@ -142,7 +142,7 @@ export default function Dashboard() {
|
|||
const nextUrl = `${currentUrl.pathname}${nextSearch ? `?${nextSearch}` : ""}${currentUrl.hash}`;
|
||||
window.history.replaceState(null, "", nextUrl);
|
||||
}
|
||||
}, [user]);
|
||||
}, [user?.id]);
|
||||
|
||||
const handleTabChange = (value: string) => {
|
||||
setActiveTab(value);
|
||||
|
|
|
|||
Loading…
Reference in a new issue