diff --git a/src/components/common/PostSimpleCard/PostSimpleCard.styles.ts b/src/components/common/PostSimpleCard/PostSimpleCard.styles.ts index 702a6d54..efe78308 100644 --- a/src/components/common/PostSimpleCard/PostSimpleCard.styles.ts +++ b/src/components/common/PostSimpleCard/PostSimpleCard.styles.ts @@ -141,9 +141,7 @@ export const TextContainer = styled.p<{ $why?: boolean }>` }} `; -export const ProfileContainer = styled(Row)<{ - tabIndex: number; -}>` +export const ProfileContainer = styled(Row)` width: auto; align-items: center; margin: 5px; diff --git a/src/components/common/PostSimpleCard/PostSimpleCard.tsx b/src/components/common/PostSimpleCard/PostSimpleCard.tsx index 5d870381..4f057e17 100644 --- a/src/components/common/PostSimpleCard/PostSimpleCard.tsx +++ b/src/components/common/PostSimpleCard/PostSimpleCard.tsx @@ -265,15 +265,14 @@ const PostSimpleCard = ({ postData }: IProps) => { if (mutation.isSuccess) { return ( <> - handleKeyDown(event)} - $basis="half" - > + {/* todo, 카드 컴포넌트 원주님과 협업 후 공용 컴포넌트로 변경 */} handleKeyDown(event)} src={postData.image ? postData.image : "/image_alt.png"} alt="포스팅 이미지" /> @@ -302,12 +301,11 @@ const PostSimpleCard = ({ postData }: IProps) => { /> - +