mirror of
https://github.com/johndoe6345789/low-code-react-app-b.git
synced 2026-04-24 13:44:54 +00:00
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:
@@ -359,7 +359,7 @@ export function JSONFormRenderer({ formData, fields, onSubmit, onChange }: JSONF
|
||||
}}
|
||||
/>
|
||||
</div>
|
||||
)}
|
||||
)
|
||||
})}
|
||||
</form>
|
||||
)
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user