Skip to content

Commit 7ef295a

Browse files
committed
fix type errors
1 parent 86c77d5 commit 7ef295a

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

platforms/web/src/Teach.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ function Teach() {
114114
const uploadId = `upload-${Date.now()}`;
115115
const storageId = json.settings?.id || uploadId;
116116

117-
await db.addTeacherMap(storageId, json, null);
117+
await db.addTeacherMap(storageId, json, undefined);
118118
const maps = await db.getAllTeacherMaps();
119119
setAllMaps(maps);
120120
setShowAddDialog(false);

platforms/web/src/TeacherEditor.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ import "@learningmap/learningmap/index.css";
55
import * as db from './db';
66
import './TeacherEditor.css';
77
import { Header } from './Header';
8-
import { Footer } from './Footer';
98

109
// This component wraps the LearningMapEditor and saves maps to the teacher's collection
1110
// when they are shared

0 commit comments

Comments
 (0)