Skip to content

Commit

Permalink
[refactor]모달창 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
heedong12 committed May 16, 2024
1 parent b69f1d4 commit 9e9094f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/pages/gamePages/BeforeGame.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,11 @@ const BeforeGame = () => {
}}
/>
<Button width="100%" height="60px" text="랭킹 보기" />
{isModalOpen && <Modal onClose={closeModal} content={gameInfo} />}
<Modal
onClose={closeModal}
content={gameInfo}
isModalOpen={isModalOpen}
/>
</div>
);
};
Expand Down

0 comments on commit 9e9094f

Please sign in to comment.