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 type { DueDate } from "@/types";
|
||||||
import { defineProps } from "vue";
|
import { defineProps } from "vue";
|
||||||
|
|
||||||
const props = defineProps<{
|
defineProps<{
|
||||||
dueDate: DueDate;
|
dueDate: DueDate;
|
||||||
}>();
|
}>();
|
||||||
</script>
|
</script>
|
||||||
|
|
|
||||||
|
|
@ -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>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue