Skip to content

Commit

Permalink
Refactor: ptrailer props 이름 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
juriurj committed Oct 2, 2024
1 parent bc97e11 commit c87f59e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/components/PTrailer/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,17 @@ import { PTrailerDesc } from '@/components/PTrailerDesc';
import * as S from './styles';

interface PTrailerProps {
src: string;
postSrc: string;
vId: string;
vTitle: string;
width?: string;
}

export const PTrailer = ({ src, vId, vTitle, width = '100%' }: PTrailerProps) => {
export const PTrailer = ({ postSrc, vId, vTitle, width = '100%' }: PTrailerProps) => {
return (
<S.PTrailer width={width}>
<PTrailerVideo vId={vId} />
<PTrailerDesc src={src} vTitle={vTitle} />
<PTrailerDesc src={postSrc} vTitle={vTitle} />
</S.PTrailer>
);
};

0 comments on commit c87f59e

Please sign in to comment.