Skip to content

Commit

Permalink
refactor: 커피챗 커리어 타입 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
seojisoosoo committed Dec 21, 2024
1 parent 8479bd6 commit 47fe7f8
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
2 changes: 1 addition & 1 deletion src/components/coffeechat/upload/CoffeechatForm/types.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
export interface CoffeechatFormContent {
memberInfo: {
career: string[] | string | null | undefined;
career: string | null | undefined;
introduction: string | null | undefined;
};
coffeeChatInfo: {
Expand Down
5 changes: 0 additions & 5 deletions src/pages/coffeechat/edit/[id].tsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,6 @@ const CoffeechatEdit = () => {
{
memberInfo: {
...memberInfo,
career: memberInfo.career
? Array.isArray(memberInfo.career)
? memberInfo.career[0]
: memberInfo.career
: null,
},
coffeeChatInfo: { ...coffeeChatInfo },
},
Expand Down

0 comments on commit 47fe7f8

Please sign in to comment.