diff --git a/packages/client/src/shared/ui/inputBar/InputBar.tsx b/packages/client/src/shared/ui/inputBar/InputBar.tsx index 842795c..86f9d1e 100644 --- a/packages/client/src/shared/ui/inputBar/InputBar.tsx +++ b/packages/client/src/shared/ui/inputBar/InputBar.tsx @@ -33,7 +33,7 @@ export default function InputBar({ const Container = styled.div` display: flex; flex-direction: column; - /* width: 100%; */ + width: 100%; `; const Input = styled.input` diff --git a/packages/client/src/widgets/nickNameSetModal/NickNameSetModal.tsx b/packages/client/src/widgets/nickNameSetModal/NickNameSetModal.tsx index f16a01a..1f3a604 100644 --- a/packages/client/src/widgets/nickNameSetModal/NickNameSetModal.tsx +++ b/packages/client/src/widgets/nickNameSetModal/NickNameSetModal.tsx @@ -11,18 +11,17 @@ export default function NickNameSetModal() { const [validNickName, setValidNickName] = useState(''); const navigate = useNavigate(); const { platform } = useParams(); + const { setText } = useToastStore(); + const { id, pw } = useSignUpStore(); useCheckLogin(); const handleSaveButton = async () => { // TODO: 소셜로그인 시 로직 따로 추가해야 함 - const { setText } = useToastStore(); - try { let response; if (!platform) { - const { id, pw } = useSignUpStore(); response = await postSignUp({ username: id, password: pw,