Skip to content

Commit

Permalink
Merge pull request #28 from EFUB-TEAM4/issue-17
Browse files Browse the repository at this point in the history
#17 [Vote] place basic parameters
  • Loading branch information
zhtmahthgus authored Jul 30, 2022
2 parents efbafc3 + 5a0789c commit 6cad55b
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 6cad55b

Please sign in to comment.