Skip to content

Commit

Permalink
[fix] ユーザー名が正しくsetされるように修正
Browse files Browse the repository at this point in the history
  • Loading branch information
TkymHrt committed Mar 6, 2024
1 parent 154ec9a commit 49bd481
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ export default function EditModal(props: ModalProps) {
.filter((user, index, self) => {
return self.findIndex((u) => u.name === user.name) === index;
});
if (res.length !== 0) setFormData({ ...formData, userID: props.fundInformation.userID });
if (res.length !== 0) setFormData({ ...formData, userID: res[0].id });
return res;
}, [bureauId]);

Expand Down

0 comments on commit 49bd481

Please sign in to comment.