Skip to content

Commit

Permalink
fix: add storyPaths dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
atanasster committed Jul 10, 2020
1 parent 459246a commit ccf976c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/app/src/Sidebar/Sidebar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ export const Sidebar: FC<SidebarProps> = ({
return menuItems;
}
return [];
}, [type, activeTab, storeProvider]);
}, [type, activeTab, storeProvider, storyPaths]);
const [search, setSearch] = useState<string | undefined>(undefined);
return (
<AppSidebar variant="appsidebar.sidebar" id="sidebar">
Expand Down

0 comments on commit ccf976c

Please sign in to comment.