chore(ui): fix alignment loader starter screen (#3338)
This commit is contained in:
parent
dcfb497934
commit
e9f5d2f837
@ -40,7 +40,12 @@ const OnDeviceStarterScreen = () => {
|
||||
[setLocalModelModalStage]
|
||||
)
|
||||
|
||||
if (!data) return <Spinner />
|
||||
if (!data)
|
||||
return (
|
||||
<div className="flex justify-center">
|
||||
<Spinner />
|
||||
</div>
|
||||
)
|
||||
|
||||
const builtInModels: HfModelEntry[] =
|
||||
data.modelCategories.get('BuiltInModels') || []
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user