Skip to content

Commit

Permalink
Refactor: interface 정리
Browse files Browse the repository at this point in the history
  • Loading branch information
soulchicken committed Oct 22, 2023
1 parent 6147460 commit 1d4ed84
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions src/components/friends/recommend/RecommendBox.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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<CharacterProps> = ({
const RecommendBox:FC<CharacterInfo> = ({
characterName, characterId, hashTag, statusMessage, imageUrl,
}) => (
<Link href={`/profile/friends/${characterId}`} passHref legacyBehavior>
Expand Down

0 comments on commit 1d4ed84

Please sign in to comment.