mirror of
https://github.com/supabase/supabase.git
synced 2026-10-08 19:05:06 +03:00
feat: add loading indicator
This commit is contained in:
1 parent
77228e9981
commit
25f59ea665
1 file changed
+10
-1
@@ -7,7 +7,7 @@ import { useRef, useState, useEffect } from 'react'
|
||||
import { debounce, isUndefined, values } from 'lodash'
|
||||
import { toJS } from 'mobx'
|
||||
import { observer } from 'mobx-react-lite'
|
||||
import { Button, Typography, Listbox, IconUsers, IconAlertCircle } from '@supabase/ui'
|
||||
import { Button, Typography, Listbox, IconUsers, IconAlertCircle, Loading } from '@supabase/ui'
|
||||
|
||||
import { API_URL } from 'lib/constants'
|
||||
import { post } from 'lib/common/fetch'
|
||||
@@ -328,6 +328,15 @@ export const Wizard = observer(() => {
|
||||
)}
|
||||
</Panel.Content>
|
||||
)}
|
||||
|
||||
{subscriptionStats.isLoading && (
|
||||
<Panel.Content>
|
||||
<div className="py-10">
|
||||
{/* @ts-ignore */}
|
||||
<Loading active={true} />
|
||||
</div>
|
||||
</Panel.Content>
|
||||
)}
|
||||
</>
|
||||
</Panel>
|
||||
</WizardLayout>
|
||||
|
||||
Reference in new issue
Block a user