diff --git a/src/components/Info.jsx b/src/components/Info.jsx index fdd521b..6c985e8 100644 --- a/src/components/Info.jsx +++ b/src/components/Info.jsx @@ -1,6 +1,7 @@ import Tetromino from './Tetromino'; import { useContext } from 'react'; import Context from './Context'; +import { I } from '@/lib/TetrominoType'; export default function () { const { gameOver, nextTetromino } = useContext(Context) @@ -20,7 +21,7 @@ export default function () { {nextTetromino && (
下一个
-
+
)}