We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6d1977e commit 6c931b2Copy full SHA for 6c931b2
packages/clerk-js/src/ui/hooks/useTabState.ts
@@ -23,7 +23,7 @@ export const useTabState = (tabMap: TabMap, defaultTab = 0) => {
23
if (currentTab !== selectedTab) {
24
setSelectedTab(currentTab);
25
}
26
- }, [router.queryParams.tab, selectedTab]);
+ }, [router.queryParams.tab]);
27
28
const handleTabChange = (index: number) => {
29
setSelectedTab(index);
0 commit comments