소스 검색

fix: 修改ts类型错误

Before 8 달 전
부모
커밋
860029751f
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/components/Card/Card.tsx

+ 1 - 1
src/components/Card/Card.tsx

@@ -12,7 +12,7 @@ import styles from "./style.module.scss";
 export interface CardProps {
     item?: GameListRep;
     render?: (value: GameListRep) => ReactNode;
-    groupType?: Category["bet_type"];
+    groupType: Category["bet_type"];
 }
 const Card: FC<PropsWithChildren<CardProps>> = (props) => {
     const { render, item, groupType } = props;