Skip to content

Commit

Permalink
πŸ› Nickname bug fix
Browse files Browse the repository at this point in the history
- λ‹‰λ„€μž„ λͺ¨λ‹¬ 버그 μˆ˜μ •
  • Loading branch information
MinboyKim committed Dec 4, 2023
1 parent 3c77b4f commit 4f061a9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion packages/client/src/shared/ui/inputBar/InputBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 4f061a9

Please sign in to comment.