Skip to content

Commit

Permalink
formatted by workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
dyusuke3263 authored and actions-user committed Nov 28, 2023
1 parent 2c3ab05 commit 24486ec
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -180,10 +180,10 @@ export default function EditModal(props: ModalProps) {
.filter((user, index, self) => {
return self.findIndex((u) => u.name === user.name) === index;
});
if (res.length !== 0 && default_user?.bureauID !== bureauId) {
setFormData({ ...formData, userID: res[0].id });
}

if (res.length !== 0 && default_user?.bureauID !== bureauId) {
setFormData({ ...formData, userID: res[0].id });
}
return res;
}, [bureauId]);

Expand Down

0 comments on commit 24486ec

Please sign in to comment.