chore(ui): fix alignment loader starter screen (#3338)

This commit is contained in:
Faisal Amir 2024-08-11 22:44:54 +07:00 committed by GitHub
parent dcfb497934
commit e9f5d2f837
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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') || []