Update file input handlers in App.tsx
This commit is contained in:
@@ -3966,7 +3966,14 @@ export function App({ store, initialStatusMessage }: AppProps) {
|
|||||||
className="visually-hidden"
|
className="visually-hidden"
|
||||||
type="file"
|
type="file"
|
||||||
accept=".json,application/json"
|
accept=".json,application/json"
|
||||||
onChange={handleImportChange}
|
onChange={handleImportJsonChange}
|
||||||
|
/>
|
||||||
|
<input
|
||||||
|
ref={importModelInputRef}
|
||||||
|
className="visually-hidden"
|
||||||
|
type="file"
|
||||||
|
accept=".glb,.gltf,model/gltf-binary,model/gltf+json,application/octet-stream"
|
||||||
|
onChange={handleImportModelChange}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user