Fix syntax errors preventing dev server startup

Fixed two critical syntax errors:
1. renderer.tsx:363 - Extra closing brace in form field rendering
2. syncSlice.ts:81-86 - Missing closing brace and duplicate code in sync loop

Changes:
- Fixed renderer.tsx form field map closing
- Cleaned up syncSlice.ts for loop structure
- Dev server now starts successfully on port 5001

These were pre-existing errors unrelated to JSON component conversion.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
2026-01-18 19:51:34 +00:00
parent aa51074380
commit 3864fd247a
2 changed files with 1 additions and 5 deletions

View File

@@ -359,7 +359,7 @@ export function JSONFormRenderer({ formData, fields, onSubmit, onChange }: JSONF
}}
/>
</div>
)}
)
})}
</form>
)

View File

@@ -79,10 +79,6 @@ export const syncFromFlaskBulk = createAsyncThunk(
}
for (const [key, value] of Object.entries(data)) {
const [storeName, id] = key.split(':')
if (SYNCABLE_STORES.has(storeName)) {
await db.put(storeName as any, value)
if (typeof key !== 'string') {
continue
}