Explorar el Código

fix: 修改ts类型错误

Before hace 8 meses
padre
commit
860029751f
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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;