fix: Resolve QuickStartWizard DOM nesting and API errors

- Fix validateDOMNesting warning by using secondaryTypographyProps with component='div'
- Fix 400 Bad Request by sending 'bucketName' instead of 'name' in bucket creation API
- This allows the Quick Start wizard to complete successfully

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
2025-07-23 17:27:52 +02:00
parent 6388a54fe6
commit 62fc36c8c0
@@ -123,7 +123,7 @@ const QuickStartWizard: React.FC<QuickStartWizardProps> = ({
try {
// Step 1: Create bucket
await api.post('/buckets', { name: setupData.bucketName }, {
await api.post('/buckets', { bucketName: setupData.bucketName }, {
timeout: 30000, // 30 seconds timeout
});
@@ -336,8 +336,8 @@ const QuickStartWizard: React.FC<QuickStartWizardProps> = ({
</ListItemIcon>
<ListItemText
primary="Access Level"
secondaryTypographyProps={{ component: 'div' }}
secondary={
<Box component="span">
<Chip
label={setupData.policyType}
size="small"
@@ -346,7 +346,6 @@ const QuickStartWizard: React.FC<QuickStartWizardProps> = ({
setupData.policyType === 'readonly' ? 'info' : 'warning'
}
/>
</Box>
}
/>
</ListItem>