diff --git a/src/components/game/GameModal.jsx b/src/components/game/GameModal.jsx index 046e0d4..fa6dbe2 100644 --- a/src/components/game/GameModal.jsx +++ b/src/components/game/GameModal.jsx @@ -1,17 +1,17 @@ import React from "react"; import { useGame } from "../../hooks/useGame"; import Modal from "../../components/ui/Modal.jsx"; +import closeIcon from "../../assets/img/icons/icon-cross.svg"; export default function GameModal() { const { currentGameModal, setCurrentGameModal } = useGame(); if (!currentGameModal) return null; return ( - setCurrentGameModal(null)}> + setCurrentGameModal(null)}> - {currentGameModal} );