diff --git a/src/pages/profileList/components/ProfileList.tsx b/src/pages/profileList/components/ProfileList.tsx index d6e1a2c6..80a97b42 100644 --- a/src/pages/profileList/components/ProfileList.tsx +++ b/src/pages/profileList/components/ProfileList.tsx @@ -12,7 +12,7 @@ const ProfileList = (prop: { prop: string }) => { // 페이지 변경 함수 const handlePageChange = (page: number) => { setCurrentPage(page); - navigate(`/profile/${prop}/${page}`); + navigate(`/profile/${prop.prop}/${page}`); }; const word = prop.prop === 'urgent' ? 'sos' : prop.prop; console.log(word); diff --git a/src/pages/shelterInfo/components/VShelterCard.tsx b/src/pages/shelterInfo/components/VShelterCard.tsx index dd0c200e..e1d64b94 100644 --- a/src/pages/shelterInfo/components/VShelterCard.tsx +++ b/src/pages/shelterInfo/components/VShelterCard.tsx @@ -1,17 +1,19 @@ import { VShelterInfoProps } from '../shelterInfoType'; const VShelterCard = ({ name, adress, call }: VShelterInfoProps) => ( -