Fix linting errors
This commit is contained in:
parent
9bb3c93cfb
commit
e7917a6cdb
|
|
@ -11,7 +11,7 @@ import { formatDate } from "@/components/dueDates/dueDatesUtils";
|
|||
import type { DueDate } from "@/types";
|
||||
import { defineProps } from "vue";
|
||||
|
||||
const props = defineProps<{
|
||||
defineProps<{
|
||||
dueDate: DueDate;
|
||||
}>();
|
||||
</script>
|
||||
|
|
|
|||
|
|
@ -18,8 +18,7 @@
|
|||
</template>
|
||||
|
||||
<script lang="ts" setup>
|
||||
import { formatDate } from "@/components/dueDates/DueDatesUtils.ts";
|
||||
import { useCurrentCourseSession } from "@/composables";
|
||||
import { formatDate } from "@/components/dueDates/dueDatesUtils.ts";
|
||||
import type { DueDate } from "@/types";
|
||||
import { defineProps } from "vue";
|
||||
|
||||
|
|
@ -30,11 +29,4 @@ const props = defineProps<{
|
|||
};
|
||||
dueDates: DueDate[];
|
||||
}>();
|
||||
|
||||
const courseSession = useCurrentCourseSession();
|
||||
const dueDates = []; //courseSession.value.duedates.slice(0, props.maxCount);
|
||||
//
|
||||
// if (dueDates.length === 0) {
|
||||
// dueDates = dueDatesTestData;
|
||||
// }
|
||||
</script>
|
||||
|
|
|
|||
Loading…
Reference in New Issue