Skip to content

Commit

Permalink
fix: lookbook area
Browse files Browse the repository at this point in the history
  • Loading branch information
2paperstar committed Jun 5, 2024
1 parent b035ef1 commit 3aac9c0
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions src/pages/MainPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -126,14 +126,11 @@ function MainPage() {
return null;
}

const area = {
province: '서울특별시',
city: '강남구',
district: '역삼동',
};

try {
await createLookBook({ area: area, TPO: selectedTPO });
await createLookBook({
area: { province, city, district },
TPO: selectedTPO,
});
} catch (err: any) {
setError(
'Failed to create look book: ' +
Expand Down Expand Up @@ -216,7 +213,6 @@ function MainPage() {
))}
</select>
</div>
{/* Toggle Button */}
<div></div>
{[
'꾸안꾸',
Expand Down

0 comments on commit 3aac9c0

Please sign in to comment.