fix: address automated review findings
This commit is contained in:
1 parent
f5d173350b
commit
5f81b819af
6 files changed
+85
-7
No files matched your search
@@ -93,6 +93,10 @@ export default function AdminPage() {
|
||||
setPanelPhase('idle');
|
||||
const settledHeight = measurePanelHeight();
|
||||
if (settledHeight != null) setPanelHeight(settledHeight);
|
||||
if (pendingTab.current !== tab) {
|
||||
const queuedTab = pendingTab.current;
|
||||
transitionFrame.current = requestAnimationFrame(() => changeTab(queuedTab));
|
||||
}
|
||||
}, 360);
|
||||
});
|
||||
}, [panelPhase, tab]);
|
||||
|
||||
Reference in new issue
Block a user