artel3D commited on
Commit
b08358f
·
1 Parent(s): 2f63f0b

feat: wire split panel + fix TS ref callback void return

Browse files
Files changed (1) hide show
  1. ImportPanel.tsx +1 -1
ImportPanel.tsx CHANGED
@@ -92,7 +92,7 @@ export default function ImportPanel({ onGlbReady }: ImportPanelProps) {
92
  </>
93
  )}
94
  <input
95
- ref={el => inputRefs.current[i] = el}
96
  type="file" accept="image/png,image/jpeg,image/webp"
97
  style={{ display: 'none' }}
98
  onChange={e => handleFile(i, e.target.files?.[0] ?? null)}
 
92
  </>
93
  )}
94
  <input
95
+ ref={el => { inputRefs.current[i] = el; }}
96
  type="file" accept="image/png,image/jpeg,image/webp"
97
  style={{ display: 'none' }}
98
  onChange={e => handleFile(i, e.target.files?.[0] ?? null)}