fix: type issues by using correct import (#111)
* fix: use StatusType * fix: use AutoLoadStatus * fix: use typof SiteSupport.* * fix: one more of Status to StatusType * fix: use import type * fix: use path alias imports * fix: use Extract * fix: remove unnecessary import
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import type { Status } from '@shared/types/Course';
|
||||
import type { StatusType } from '@shared/types/Course';
|
||||
import { StatusIcon } from '@shared/util/icons';
|
||||
import clsx from 'clsx';
|
||||
import React from 'react';
|
||||
@@ -11,7 +11,7 @@ type SizeType = 'small' | 'mini';
|
||||
* Props for CourseStatus
|
||||
*/
|
||||
export interface CourseStatusProps {
|
||||
status: Status;
|
||||
status: StatusType;
|
||||
size: SizeType;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user