Skip to content

Commit 272112c

Browse files
committed
refactor: 공통 컴포넌트 수정에 따라 prop 수정 #49
1 parent df8e246 commit 272112c

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

frontend/src/components/GameResult/GameResult.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ const GameResult = () => {
1616
<div css={gameResultTitleWrapper}>
1717
<h1 css={gameResultTitle}>게임 결과</h1>
1818
</div>
19-
<Button text="확인" active={true} onClick={goToHome} />
19+
<Button text="확인" onClick={goToHome} />
2020
</div>
2121
);
2222
};

frontend/src/components/SelectContainer/SelectContainer.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ const SelectContainer = () => {
3939
handleSelectOption={handleSelectOption}
4040
/>
4141
</section>
42-
<Button text="선택" active={Boolean(selectedId)} onClick={goToRoundResult} />
42+
<Button text="선택" disabled={Boolean(selectedId)} onClick={goToRoundResult} />
4343
</div>
4444
)}
4545
</>

frontend/src/pages/RoundResultPage/RoundResultPage.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ const RoundResultPage = () => {
2222
<div css={NicknameListWrapper}>
2323
<NicknameList />
2424
</div>
25-
<Button text="다음" active={true} onClick={goToGameResult} />
25+
<Button text="다음" onClick={goToGameResult} />
2626
</Content>
2727
);
2828
};

0 commit comments

Comments
 (0)