Fix linting errors

This commit is contained in:
Lorenz Padberg 2023-06-19 15:42:50 +02:00
parent 9bb3c93cfb
commit e7917a6cdb
2 changed files with 2 additions and 10 deletions

View File

@ -11,7 +11,7 @@ import { formatDate } from "@/components/dueDates/dueDatesUtils";
import type { DueDate } from "@/types"; import type { DueDate } from "@/types";
import { defineProps } from "vue"; import { defineProps } from "vue";
const props = defineProps<{ defineProps<{
dueDate: DueDate; dueDate: DueDate;
}>(); }>();
</script> </script>

View File

@ -18,8 +18,7 @@
</template> </template>
<script lang="ts" setup> <script lang="ts" setup>
import { formatDate } from "@/components/dueDates/DueDatesUtils.ts"; import { formatDate } from "@/components/dueDates/dueDatesUtils.ts";
import { useCurrentCourseSession } from "@/composables";
import type { DueDate } from "@/types"; import type { DueDate } from "@/types";
import { defineProps } from "vue"; import { defineProps } from "vue";
@ -30,11 +29,4 @@ const props = defineProps<{
}; };
dueDates: DueDate[]; dueDates: DueDate[];
}>(); }>();
const courseSession = useCurrentCourseSession();
const dueDates = []; //courseSession.value.duedates.slice(0, props.maxCount);
//
// if (dueDates.length === 0) {
// dueDates = dueDatesTestData;
// }
</script> </script>