From 1d4ed849cc4a34541e6ec96d73ab4a9dd827fc15 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EC=86=8C=EC=9A=B8=EC=B9=98=ED=82=A8?= <90738604+soulchicken@users.noreply.github.com> Date: Sun, 22 Oct 2023 15:53:43 +0900 Subject: [PATCH] =?UTF-8?q?Refactor:=20interface=20=EC=A0=95=EB=A6=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/friends/recommend/RecommendBox.tsx | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/src/components/friends/recommend/RecommendBox.tsx b/src/components/friends/recommend/RecommendBox.tsx index 1763663..cd7e71c 100644 --- a/src/components/friends/recommend/RecommendBox.tsx +++ b/src/components/friends/recommend/RecommendBox.tsx @@ -4,16 +4,9 @@ import Image from 'next/image'; import Link from 'next/link'; import styled from '@emotion/styled'; import color from '@/styles/color'; +import { CharacterInfo } from '@/types/characterInfo'; -interface CharacterProps { - characterName: string, - characterId: number, - hashTag: string, - statusMessage: string, - imageUrl: string, -} - -const RecommendBox:FC = ({ +const RecommendBox:FC = ({ characterName, characterId, hashTag, statusMessage, imageUrl, }) => (