Commit 30f605a
committed
🐛 Fix infinite validation loop in Dataverse solution import
- Remove onImportCompleted from useEffect dependency arrays (lines 173, 222, 304)
- Remove onCDMChoiceSelected from useEffect dependency array (line 222)
- Prevents infinite re-rendering when solution import completes or CDM choice is made
- Fixes ERR_INSUFFICIENT_RESOURCES errors caused by rapid validation requests
- Preserves all functionality while stopping callback-triggered loops1 parent 266bdaf commit 30f605a
File tree
1 file changed
+2
-2
lines changed- src/frontend/src/components/wizard/steps/file-upload
1 file changed
+2
-2
lines changedLines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
219 | 219 | | |
220 | 220 | | |
221 | 221 | | |
222 | | - | |
| 222 | + | |
223 | 223 | | |
224 | 224 | | |
225 | 225 | | |
| |||
301 | 301 | | |
302 | 302 | | |
303 | 303 | | |
304 | | - | |
| 304 | + | |
305 | 305 | | |
306 | 306 | | |
307 | 307 | | |
| |||
0 commit comments