Skip to content

Commit

Permalink
chore(ui): fix alignment loader starter screen (#3338)
Browse files Browse the repository at this point in the history
  • Loading branch information
urmauur authored Aug 11, 2024
1 parent dcfb497 commit e9f5d2f
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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') || []
Expand Down

0 comments on commit e9f5d2f

Please sign in to comment.