diff --git a/components/Header/Header.tsx b/components/Header/Header.tsx index 2c33ae4..8e8888e 100644 --- a/components/Header/Header.tsx +++ b/components/Header/Header.tsx @@ -72,7 +72,9 @@ export default function Header({ return (
{type === 'logo' && (
diff --git a/pages/liked/index.tsx b/pages/liked/index.tsx index 05d9c0d..a58bcc8 100644 --- a/pages/liked/index.tsx +++ b/pages/liked/index.tsx @@ -3,7 +3,7 @@ import React, { useRef, useEffect, useState } from 'react'; import NoLiked from '@/public/icons/noLiked.svg'; import useModal from '@/hooks/useModal'; import DefaultLayout from '@/components/layouts/DefaultLayout'; -import { Nav, Typography, Chip } from '@/components/index.tsx'; +import { Nav, Typography, Chip, Select } from '@/components/index.tsx'; import { useRouter } from 'next/router'; import { RoomSearch } from '@/public/types/room'; import { getLikedRooms } from '@/api/userInfo'; @@ -180,29 +180,9 @@ export default function Liked({ roomInfo }: MyPostingProps) { }; return (
-
- - {filters.map((label, index) => { - return ( -
- handleOptionRemove?.(label, index)} - onChipClick={() => handleChipClick?.(label)} - clicked={handlePropsClick?.(label, index)} - /> -
- ); - })} +
+ You have liked {totalElements} rooms
- - There are {`${totalElements} rooms`} in total! - {rooms.map((room, idx) => (
handleCardClick(room.id)} isLikedRooms /> @@ -223,17 +203,8 @@ export default function Liked({ roomInfo }: MyPostingProps) { } Liked.getLayout = function getLayout(page: React.ReactElement) { - const handleGoBack = () => { - window.history.back(); - }; return ( - + {page} );