Skip to content

Commit

Permalink
fix: Fix logical of location property in useEditProfile
Browse files Browse the repository at this point in the history
  • Loading branch information
whalekiller03 committed Mar 17, 2024
1 parent cabe95e commit 1485155
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion components/Profile/Edit/useEditProfile.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,8 @@ const useEditProfile = () => {
},
wantToDoList,
educationStage,
location: `${country}@${city}@${district}`,
location:
country === '國外' ? country : [country, city, district].join('@'),
tagList,
selfIntroduction,
share,
Expand Down

0 comments on commit 1485155

Please sign in to comment.