Skip to content

Commit

Permalink
Fix state loading when active model from hub
Browse files Browse the repository at this point in the history
  • Loading branch information
urmauur committed Dec 4, 2023
1 parent 491f4d7 commit bd9acf0
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions web/containers/DropdownListSidebar/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,7 @@ export default function DropdownListSidebar() {
}
})
// eslint-disable-next-line react-hooks/exhaustive-deps
}, [activeThread, activeModel])

if (stateModel.loading) return null
}, [activeThread, activeModel, stateModel.loading])

return (
<Select
Expand Down

0 comments on commit bd9acf0

Please sign in to comment.