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) => ( -
+
-
+
{name}
-
{adress}
-
연락처 {call}
- +
{adress}
+
+ 연락처 {call} +
+ 전화하기
diff --git a/src/pages/shelterInfo/components/VShelterInfo.tsx b/src/pages/shelterInfo/components/VShelterInfo.tsx index f0cd11db..c27d441e 100644 --- a/src/pages/shelterInfo/components/VShelterInfo.tsx +++ b/src/pages/shelterInfo/components/VShelterInfo.tsx @@ -11,14 +11,14 @@ const VShelterInfo = (props: ShelterInfoPageProps) => { return (
-
+
-
+

관리중인 동물

-
+
{props.profileProps.map((item, index) => (
{ role === 'SHELTER' && id === `${props.shelterInfoProps.id}` ? ' absolute ml-60 bg-slate-200 text-sm h-fit w-fit p-1 rounded-xl ' - : ' text-transparent ' + : ' text-transparent opacity-0' }`} onClick={() => { // eslint-disable-next-line no-restricted-globals