1
0
Fork 0
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:
Fedor Katurov 2022-08-05 20:44:02 +07:00
parent a03f80259d
commit e3c5b281e6
8 changed files with 61 additions and 49 deletions

View file

@ -69,6 +69,7 @@ const SidebarStack = function({
);
useEffect(() => setActiveTab(tab), [tab]);
return (
<SidebarStackContext.Provider
value={{ activeTab, setActiveTab: onChangeTab, closeAllTabs }}