Skip to content

Commit

Permalink
fix broken CourseCard
Browse files Browse the repository at this point in the history
  • Loading branch information
annarhughes committed Nov 19, 2024
1 parent f540682 commit 4461167
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions components/cards/CourseCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ import { useRouter } from 'next/router';
import { useState } from 'react';
import { PROGRESS_STATUS } from '../../constants/enums';
import { iconTextRowStyle, rowStyle } from '../../styles/common';
import { formatDateToString } from '../../utils/dateTime';
import Link from '../common/Link';
import ProgressStatus from '../common/ProgressStatus';

Expand Down Expand Up @@ -139,7 +138,7 @@ const CourseCard = (props: CourseCardProps) => {
</CardContent>
)}
<CardActions sx={cardActionsStyle}>
{courseComingSoon && !courseLiveSoon && (
{courseComingSoon && (
<Box sx={statusRowStyle}>

Check failure on line 142 in components/cards/CourseCard.tsx

View workflow job for this annotation

GitHub Actions / build-and-test

Cannot find name 'courseLiveSoon'.
<PendingOutlined color="error" />
<Typography>{t('comingSoon')}</Typography>
Expand Down

0 comments on commit 4461167

Please sign in to comment.