diff --git a/frontEnd/src/components/setting/UserInputArea.tsx b/frontEnd/src/components/setting/UserInputArea.tsx index 176b6b6..7ec0444 100644 --- a/frontEnd/src/components/setting/UserInputArea.tsx +++ b/frontEnd/src/components/setting/UserInputArea.tsx @@ -7,6 +7,7 @@ import randomNameGenerator from '@/utils/randomNameGenerator'; import useFocus from '@/hooks/useFocus'; export default function UserInputArea() { + const mediaPermission = useRoomConfigData((state) => state.mediaPermisson); const { isConnectionError, isSignalingError, isSettingDone } = useRoomConfigData(); const { setNickname, settingOn, settingOff, resolveConnectionError, resolveSignalError } = useRoomConfigData((state) => state.actions); @@ -31,13 +32,19 @@ export default function UserInputArea() {
- - {isSettingDone ? : '참여'} - + {mediaPermission ? ( + + {isSettingDone ? : '참여'} + + ) : ( +
+ 카메라 권한을 확인해주세요! +
+ )}
{isConnectionError && 방이 가득 찼습니다!} {isSignalingError && (