From a63df1eae051ea648ea338eab60427623f92be87 Mon Sep 17 00:00:00 2001 From: hwinkr Date: Tue, 18 Jul 2023 20:34:39 +0900 Subject: [PATCH] =?UTF-8?q?Chore:=20AnnounceCard=20=EC=BB=B4=ED=8F=AC?= =?UTF-8?q?=EB=84=8C=ED=8A=B8=20props=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Card/AnnounceCard/index.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/Card/AnnounceCard/index.tsx b/src/components/Card/AnnounceCard/index.tsx index ed992763..a5326084 100644 --- a/src/components/Card/AnnounceCard/index.tsx +++ b/src/components/Card/AnnounceCard/index.tsx @@ -3,9 +3,9 @@ import styled from '@emotion/styled'; import { THEME } from '@styles/ThemeProvider/theme'; import { AnnounceItem } from '@type/announcement'; -const AnnounceCard = ({ title, path, date }: AnnounceItem) => { +const AnnounceCard = ({ title, link, uploadDate }: AnnounceItem) => { const onClick = () => { - window.location.href = path; + window.location.href = link; }; return ( @@ -23,7 +23,7 @@ const AnnounceCard = ({ title, path, date }: AnnounceItem) => { margin: 0 10px; `} /> - {date} + {uploadDate} );