From deff1f54c8bcfb583fa5559c83fc31ab59c339f2 Mon Sep 17 00:00:00 2001 From: Faisal Amir Date: Wed, 17 Jan 2024 13:06:06 +0700 Subject: [PATCH] remove unused code --- web/containers/DropdownListSidebar/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/containers/DropdownListSidebar/index.tsx b/web/containers/DropdownListSidebar/index.tsx index 39965e838..5780de6b8 100644 --- a/web/containers/DropdownListSidebar/index.tsx +++ b/web/containers/DropdownListSidebar/index.tsx @@ -49,7 +49,7 @@ export default function DropdownListSidebar() { const threadStates = useAtomValue(threadStatesAtom) const [selectedModel, setSelectedModel] = useAtom(selectedModelAtom) const setThreadModelParams = useSetAtom(setThreadModelParamsAtom) - const { activeModel, startModel, stateModel, stopModel } = useActiveModel() + const { activeModel, stateModel } = useActiveModel() const [serverEnabled, setServerEnabled] = useAtom(serverEnabledAtom) const { setMainViewState } = useMainViewState()