diff --git a/src/pages/Event/Event2023FallHistory.tsx b/src/pages/Event/Event2023FallHistory.tsx index 71556feed..43057e5c6 100644 --- a/src/pages/Event/Event2023FallHistory.tsx +++ b/src/pages/Event/Event2023FallHistory.tsx @@ -32,31 +32,34 @@ const HistoryItem = ({ }: HistoryItemProps) => ( - + > +
+ +
+
{title}
@@ -92,8 +95,8 @@ const HistorySection = () => { {purchaseHistory.length > 0 ? ( purchaseHistory.map( ({ _id, type, comment, createAt, questId, item }: Transaction) => { - if (type == "get") { - const quest = quests?.find((quest) => quest.id == questId); + if (type === "get") { + const quest = quests?.find((quest) => quest.id === questId); return ( { date={createAt} /> ); - } else if (type == "use") { + } else if (type === "use") { return (