Skip to content

Commit

Permalink
some linter fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
mono424 committed Sep 15, 2023
1 parent 8755076 commit 1b1b1ab
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions web/ts/edit-course.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Delete, patchData, postData, putData, sendFormData, showMessage, uploadFile } from "./global";
import { patchData, postData, putData, sendFormData } from "./global";
import { StatusCodes } from "http-status-codes";
import { DataStore } from "./data-store/data-store";
import {
Expand All @@ -8,7 +8,6 @@ import {
LectureVideoTypeCam,
LectureVideoTypeComb,
LectureVideoTypePres,
LectureVideoTypes,
VideoSection,
videoSectionSort,
} from "./api/admin-lecture-list";
Expand Down Expand Up @@ -227,7 +226,7 @@ export function lectureEditor(lecture: Lecture): AlpineComponent {
section.startSeconds < 60
);
},

deleteLecture() {
DataStore.adminLectureList.delete(this.lectureData.courseId, [this.lectureData.lectureId]);
},
Expand Down

0 comments on commit 1b1b1ab

Please sign in to comment.