Skip to content

Commit

Permalink
Fix: type of phoneNumber
Browse files Browse the repository at this point in the history
  • Loading branch information
14KGun committed Sep 27, 2023
1 parent 2420f11 commit e519af2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/atoms/loginInfo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export type LoginInfoType = Nullable<{
profileImgUrl: string;
subinfo: { kaist: string; sparcs: string; facebook: string; twitter: string };
withdraw: boolean;
phoneNumber: string;
phoneNumber?: string;
account: string;
// deviceType: "web" | "app"; // #580 - loadenv의 deviceType을 사용하여야 합니다.
deviceToken: Nullable<string>;
Expand Down
2 changes: 1 addition & 1 deletion src/components/ModalPopup/ModalEvent2023FallJoin.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ const ModalEvent2023FallJoin = (modalProps: ModalEvent2023FallJoinProps) => {
<div css={styleInputWrap}>
전화번호
<Input
value={phoneNumberFromLoginInfo}
value={phoneNumberFromLoginInfo || ""}
css={{ width: "100%", marginLeft: "10px" }}
/>
</div>
Expand Down

0 comments on commit e519af2

Please sign in to comment.