fix: correctly display loading spinner (#16167)

Update the usages of the new spinner component to correctly set the
loading prop
This commit is contained in:
Jaayden Halko
2025-01-17 09:14:23 -05:00
committed by GitHub
parent 7f46e3b1e0
commit 0697308a0b
16 changed files with 19 additions and 22 deletions

View File

@ -210,7 +210,7 @@ export const CreateUserForm: FC<
Cancel
</Button>
<Button type="submit" disabled={isLoading}>
{isLoading && <Spinner />}
<Spinner loading={isLoading} />
Save
</Button>
</FormFooter>