Fix state loading when active model from hub
This commit is contained in:
parent
491f4d7289
commit
bd9acf0971
@ -59,9 +59,7 @@ export default function DropdownListSidebar() {
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
// eslint-disable-next-line react-hooks/exhaustive-deps
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
||||||
}, [activeThread, activeModel])
|
}, [activeThread, activeModel, stateModel.loading])
|
||||||
|
|
||||||
if (stateModel.loading) return null
|
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Select
|
<Select
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user