Skip to content

Commit

Permalink
프로필 데이터 조회
Browse files Browse the repository at this point in the history
  • Loading branch information
ipcgrdn committed Dec 19, 2024
1 parent 8bdf514 commit 34e2f14
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
7 changes: 1 addition & 6 deletions src/app/user/[userId]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -119,12 +119,7 @@ export default function UserPage() {
</div>

<div className="flex w-full h-28 md:h-full font-light text-sm items-start md:items-center whitespace-pre-line leading-normal overflow-auto">
Hello! My name is Raro, and im passionate about exploring new
ideas and cultures. I enjoy reading, traveling, and meeting new
people. Currently, im pursuing my interests in technology and
innovation, aiming to make a positive impact in the world. I
believe in lifelong learning and always seek to grow personally
and professionally
{profileData?.description}
</div>
</div>

Expand Down
4 changes: 2 additions & 2 deletions src/services/profileService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,11 @@ export const getProfile = async (): Promise<Profile> => {
} catch (error) {
if (axios.isAxiosError(error)) {
console.error(
`앨범 데이터 조회 실패: ${error.response?.status}`,
`프로필 데이터 조회 실패: ${error.response?.status}`,
error.message
);
} else {
console.error("앨범 데이터 조회 중 알 수 없는 오류 발생:", error);
console.error("프로필 데이터 조회 중 알 수 없는 오류 발생:", error);
}
throw error;
}
Expand Down

0 comments on commit 34e2f14

Please sign in to comment.