File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ import CustomAlert from '@/components/common/CustomAlert';
44import TextCopy from '@/components/common/TextCopy' ;
55import Typography from '@/components/common/Typogrpahy' ;
66import { useNavigate } from 'react-router-dom' ;
7- import { QuizZone , ChatMessage } from '@/types/quizZone.types' ;
7+ import { ChatMessage , QuizZone } from '@/types/quizZone.types' ;
88import PlayersGrid from '@/components/common/PlayersGrid' ;
99import TooltipWrapper from '@/components/common/TooltipWrapper' ;
1010import { cn } from '@/lib/utils' ;
Original file line number Diff line number Diff line change @@ -132,7 +132,7 @@ const QuizZoneContent = () => {
132132 handleConfirm = { ( ) => initQuizZone ( ) }
133133 />
134134 </ AlertDialog >
135- < AlertDialog open = { isClose } >
135+ < AlertDialog open = { quizZoneState . stage === 'LOBBY' && isClose } >
136136 < CustomAlertDialogContent
137137 title = { '퀴즈존 종료' }
138138 description = { '방장이 퀴즈존을 떠나 퀴즈존이 삭제되었습니다.' }
You can’t perform that action at this time.
0 commit comments