diff --git a/src/screens/Classroom/AssignmentsTab/index.js b/src/screens/Classroom/AssignmentsTab/index.js index bafd34a..7f0eae1 100644 --- a/src/screens/Classroom/AssignmentsTab/index.js +++ b/src/screens/Classroom/AssignmentsTab/index.js @@ -1,6 +1,7 @@ import { Container, Link, Skeleton, Stack, Typography } from '@mui/material'; import dayjs from 'dayjs'; import { capitalizeFirstLetter } from '../../../utils/capitalizeFirstLetter'; +import { createArrayFrom1ToN } from '../../../utils/createArrayFrom1ToN'; function AssignmentsTab({ assignmentsTabData, layoutType }) { const layoutResolver = (state, assignments, layoutType) => { @@ -216,10 +217,209 @@ function AssignmentsTab({ assignmentsTabData, layoutType }) { } else if (layoutType === 'mobile') { switch (state) { case 'loading': - return