From 1d6f066c05305b71a373e7552d51d440a7679ab8 Mon Sep 17 00:00:00 2001 From: Mungjin01 Date: Thu, 23 May 2024 21:47:18 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20api=20=EC=88=98=EC=A0=95=20(#52)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/MyPage/MyBrandingView.tsx | 14 +++++++------- src/components/MyPage/MyExperienceWholeView.tsx | 14 +++++++------- src/components/MyPage/MyUnderstandingView.tsx | 14 +++++++------- src/components/common/Modal/BrandCardModal.tsx | 2 +- 4 files changed, 22 insertions(+), 22 deletions(-) diff --git a/src/components/MyPage/MyBrandingView.tsx b/src/components/MyPage/MyBrandingView.tsx index 387d30e..3741e76 100644 --- a/src/components/MyPage/MyBrandingView.tsx +++ b/src/components/MyPage/MyBrandingView.tsx @@ -6,9 +6,9 @@ import { authClient } from '@/apis/client'; import { ExperienceCard } from '@/components/MyPage/ExperienceCard'; interface ApiResponseItem { - selfUnderstandingUrl: string; - name: string; - link: string; + imageUrl: string; + programsTitle: string; + type: string; programsId: number; } @@ -51,10 +51,10 @@ export const MyBrandingView = ({ programData, sortOrder }: MyExperienceProps) => {data.map((item) => ( ))} diff --git a/src/components/MyPage/MyExperienceWholeView.tsx b/src/components/MyPage/MyExperienceWholeView.tsx index 8cf5a15..b97418d 100644 --- a/src/components/MyPage/MyExperienceWholeView.tsx +++ b/src/components/MyPage/MyExperienceWholeView.tsx @@ -6,9 +6,9 @@ import { authClient } from '@/apis/client'; import { ExperienceCard } from '@/components/MyPage/ExperienceCard'; interface ApiResponseItem { - selfUnderstandingUrl: string; - name: string; - link: string; + imageUrl: string; + programsTitle: string; + type: string; programsId: number; } @@ -51,10 +51,10 @@ export const MyExperienceWholeView = ({ programData, sortOrder }: MyExperiencePr {data.map((item) => ( ))} diff --git a/src/components/MyPage/MyUnderstandingView.tsx b/src/components/MyPage/MyUnderstandingView.tsx index ccb4f05..aa5370b 100644 --- a/src/components/MyPage/MyUnderstandingView.tsx +++ b/src/components/MyPage/MyUnderstandingView.tsx @@ -6,9 +6,9 @@ import { authClient } from '@/apis/client'; import { ExperienceCard } from '@/components/MyPage/ExperienceCard'; interface ApiResponseItem { - selfUnderstandingUrl: string; - name: string; - link: string; + imageUrl: string; + programsTitle: string; + type: string; programsId: number; } @@ -51,10 +51,10 @@ export const MyUnderstandingView = ({ programData, sortOrder }: MyExperienceProp {data.map((item) => ( ))} diff --git a/src/components/common/Modal/BrandCardModal.tsx b/src/components/common/Modal/BrandCardModal.tsx index 7cb3e75..83d628c 100644 --- a/src/components/common/Modal/BrandCardModal.tsx +++ b/src/components/common/Modal/BrandCardModal.tsx @@ -215,4 +215,4 @@ const Label = styled.div` color: ${({ theme }) => `${theme.color.gray700}`}; ${({ theme }) => theme.font.desktop.body1m}; word-wrap: break-word; -`; \ No newline at end of file +`;