diff --git a/src/screens/Snippets.tsx b/src/screens/Snippets.tsx index 6505051..0df141c 100644 --- a/src/screens/Snippets.tsx +++ b/src/screens/Snippets.tsx @@ -174,6 +174,10 @@ export const Snippets = () => { } } + const toggleSidebar = () => { + actions.toggleSidebar(state.isSidebarCollapsed); + } + createEffect(() => { if (getSearchType()) { searchInputEl?.focus() @@ -256,10 +260,9 @@ export const Snippets = () => {