Skip to content

Commit c0260da

Browse files
ErioldDaniel Montoya
andauthored
fix(coursefuture): se corrige el type del course (#654)
Co-authored-by: Daniel Montoya <daniel.montoya@eclass.cl>
1 parent d73738c commit c0260da

File tree

2 files changed

+2
-9
lines changed

2 files changed

+2
-9
lines changed

src/organisms/CourseList/Boxes/Boxes.tsx

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,9 @@ interface IBoxes {
66
type: WrapperCoursesProps['typeBox']
77
modalPaymentText: WrapperCoursesProps['modalPaymentText']
88
data: ExtendAcademicList
9-
soonCourse?: WrapperCoursesProps['soonCourse']
109
}
11-
export const Boxes = ({
12-
type = 'TRADITIONAL',
13-
data,
14-
modalPaymentText,
15-
soonCourse,
16-
}: IBoxes): JSX.Element => {
17-
const common = { data, modalPaymentText, soonCourse }
10+
export const Boxes = ({ type = 'TRADITIONAL', data, modalPaymentText }: IBoxes): JSX.Element => {
11+
const common = { data, modalPaymentText }
1812

1913
const commonImg = {
2014
data,

src/organisms/CourseList/types.d.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ export interface WrapperCoursesProps {
3333

3434
/** Especificación de tipo de caja curso a mostrar. Por default se muestra el tipo TRADITIONAL */
3535
typeBox?: 'TRADITIONAL' | 'TRADITIONAL_LANDSCAPE' | 'IMAGE_LARGE' | 'IMAGE_SMALL'
36-
soonCourse?: Sooncourse
3736
}
3837

3938
export interface FooterProps {

0 commit comments

Comments
 (0)