Skip to content

Commit

Permalink
#17 [Fix] fix URL basic parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
eunbis committed Jul 27, 2022
1 parent 3e44fcb commit 5a0789c
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/pages/Vote/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ function Vote() {
</FormBox>
<FormBox>
<SubjectText>์–ด๋””์—์„œ</SubjectText>
<Form>
<Form onSubmit={handleSubmit}>
<input
type="text"
name="place"
Expand All @@ -89,7 +89,9 @@ function Vote() {
<ButtonBox>
<PublicButton
onClick={() => {
navigate(`/votecomplete/${clothes}/${place}`);
navigate(
`/votecomplete/${clothes}/${place.length > 0 ? place : 'ํ•™๊ต'}`,
);
}}
text="ํˆฌํ‘œ ๋งŒ๋“ค๊ธฐ"
isDisabled={clothes.length > 0 ? 0 : 1}
Expand Down

0 comments on commit 5a0789c

Please sign in to comment.