mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-28 14:16:41 +07:00
handling sidebarchanges over time
This commit is contained in:
parent
a03f80259d
commit
e3c5b281e6
8 changed files with 61 additions and 49 deletions
|
@ -69,6 +69,7 @@ const SidebarStack = function({
|
|||
);
|
||||
|
||||
useEffect(() => setActiveTab(tab), [tab]);
|
||||
|
||||
return (
|
||||
<SidebarStackContext.Provider
|
||||
value={{ activeTab, setActiveTab: onChangeTab, closeAllTabs }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue