Skip to content

Commit 57a29b6

Browse files
committed
allow learningmap as extension
1 parent 7d379d1 commit 57a29b6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

platforms/web/src/Learn.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -430,7 +430,7 @@ function Learn() {
430430
<input
431431
id="file-upload"
432432
type="file"
433-
accept=".json,application/json"
433+
accept=".learningmap,.json,application/json"
434434
onChange={handleFileUpload}
435435
style={{ display: "none" }}
436436
/>

platforms/web/src/Teach.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,7 @@ function Teach() {
325325
<input
326326
id="file-upload"
327327
type="file"
328-
accept=".json,application/json"
328+
accept=".learningmap,.json,application/json"
329329
onChange={handleFileUpload}
330330
style={{ display: "none" }}
331331
/>

0 commit comments

Comments
 (0)