Claude (Chronicler #83 - The Compiler)
0caddef86d
Fix async error handling + build.sh copy/inject separation
wrapper.tsx:
- Added error state — shows graceful message instead of silent vanish
- useEffect catch sets error string, not null data
- refresh() catch sets error string, not empty catch
- Error UI shows gray card with message in widget slot
build.sh:
- ALWAYS copies TSX files (even on reinstall — fixes stale component bug)
- Separated copy step from injection step
- ErrorBoundary upgrade path: removes bare <ModpackVersionCard />,
replaces with wrapped version
- Imports added independently (not as one sed block)
- Renumbered sections for clarity
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>