refactor(extraSidebarComponent): remove unused context variable and import to improve code readability and maintainability
This commit is contained in:
parent
538c7e01e9
commit
97d7f330ea
1 changed files with 1 additions and 2 deletions
|
|
@ -29,8 +29,7 @@ import SidebarDraggableComponent from "./sideBarDraggableComponent";
|
|||
export default function ExtraSidebar(): JSX.Element {
|
||||
const { data, templates, getFilterEdge, setFilterEdge } =
|
||||
useContext(typesContext);
|
||||
const { flows, tabId, uploadFlow, tabsState, saveFlow } =
|
||||
useContext(FlowsContext);
|
||||
const { flows, tabId, uploadFlow, saveFlow } = useContext(FlowsContext);
|
||||
|
||||
const hasStore = useStoreStore((state) => state.hasStore);
|
||||
const hasApiKey = useStoreStore((state) => state.hasApiKey);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue