Skip to content

Commit

Permalink
Refactor: 타입 단언 -> 타입 변환
Browse files Browse the repository at this point in the history
  • Loading branch information
Diwoni committed Oct 17, 2024
1 parent 529d616 commit 992fb83
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@ const SinittoProfileBox = ({ isEditing, setIsEditing }: Props) => {
const modifiedSinittoInfo = {
name: name,
phoneNumber: phoneNumber,
email: data?.email as string,
accountNumber: data?.accountNumber as string,
bankName: data?.bankName as string,
email: String(data?.email),
accountNumber: String(data?.accountNumber),
bankName: String(data?.bankName),
};
modifySinittoInfoMutation.mutate(modifiedSinittoInfo, {
onSuccess: () => {
Expand Down

0 comments on commit 992fb83

Please sign in to comment.