Update README.md
This commit is contained in:
@@ -57,7 +57,6 @@ import "@vimazing/vim-maze/maze.css";
|
|||||||
```tsx
|
```tsx
|
||||||
import { useEffect } from "react";
|
import { useEffect } from "react";
|
||||||
import { useGame } from "@vimazing/vim-maze";
|
import { useGame } from "@vimazing/vim-maze";
|
||||||
import "@vimazing/vim-maze/maze.css";
|
|
||||||
|
|
||||||
export function MazeGame() {
|
export function MazeGame() {
|
||||||
const { containerRef, gameStatus, startGame } = useGame(20, 16);
|
const { containerRef, gameStatus, startGame } = useGame(20, 16);
|
||||||
|
|||||||
Reference in New Issue
Block a user