Showing
1 changed file
with
5 additions
and
3 deletions
... | @@ -77,9 +77,11 @@ export default function Main() { | ... | @@ -77,9 +77,11 @@ export default function Main() { |
77 | <input type="file" name="file" onChange={handleChangeFile} /> | 77 | <input type="file" name="file" onChange={handleChangeFile} /> |
78 | <div className="position-selector"> | 78 | <div className="position-selector"> |
79 | <h3>전면 사진</h3> | 79 | <h3>전면 사진</h3> |
80 | - <Checkbox checked={selectedPosition === "front"} onChange={(isChecked) => {isChecked ? setPosition('front') : setPosition('side')}}/> | 80 | + <Checkbox checked={selectedPosition === "front"} onChange={(isChecked) => {isChecked ? setPosition('front') : setPosition(undefined)}}/> |
81 | - <h3>측면 사진</h3> | 81 | + <h3>측면 사진 - 왼쪽</h3> |
82 | - <Checkbox checked={selectedPosition === "side"} onChange={(isChecked) => {isChecked ? setPosition('side') : setPosition('front')}}/> | 82 | + <Checkbox checked={selectedPosition === "left"} onChange={(isChecked) => {isChecked ? setPosition('left') : setPosition(undefined)}}/> |
83 | + <h3>측면 사진 - 오른쪽</h3> | ||
84 | + <Checkbox checked={selectedPosition === "right"} onChange={(isChecked) => {isChecked ? setPosition('right') : setPosition(undefined)}}/> | ||
83 | </div> | 85 | </div> |
84 | <button type="button" onClick={analysisImage}>Submit</button> | 86 | <button type="button" onClick={analysisImage}>Submit</button> |
85 | </div> | 87 | </div> | ... | ... |
-
Please register or login to post a comment