2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-16 20:15:44 +00:00

fix nesting issue

This commit is contained in:
Matthias Mair
2025-01-10 03:16:16 +01:00
parent fc09af58b1
commit 56137d268b

View File

@ -267,17 +267,17 @@ function ProviderSection({
<Grid.Col span={6}>
<Stack>
<Text>Add SSO Account</Text>
<Text>
{availableProviders === undefined ? (
{availableProviders === undefined ? (
<Text>
<Trans>Loading</Trans>
) : (
<Stack gap='xs'>
{availableProviders.map((provider: any) => (
<ProviderButton key={provider.id} provider={provider} />
))}
</Stack>
)}
</Text>
</Text>
) : (
<Stack gap='xs'>
{availableProviders.map((provider: any) => (
<ProviderButton key={provider.id} provider={provider} />
))}
</Stack>
)}
</Stack>
</Grid.Col>
</Grid>