diff --git a/frontend2/src/components/BaseCard.tsx b/frontend2/src/components/BaseCard.tsx deleted file mode 100644 index 9c2e38063..000000000 --- a/frontend2/src/components/BaseCard.tsx +++ /dev/null @@ -1,28 +0,0 @@ -import React from 'react'; - -interface BaseCardProps { - GameImage: string; - GameName: string; - GameDescr: string; - GameYear: number; -} - -const YearCard: React.FC = ({ GameImage, GameName, GameDescr, GameYear }) => { - const redirect = (): void => { - console.log(GameYear.toString()); // Redirect to year page - }; - - return ( -
-
- {GameName} -
-
-
{GameName}
-

{GameDescr}

-
-
- ); -}; - -export default YearCard; diff --git a/frontend2/src/components/sidebar/index.tsx b/frontend2/src/components/sidebar/index.tsx index 0f035f9d3..1740e697b 100644 --- a/frontend2/src/components/sidebar/index.tsx +++ b/frontend2/src/components/sidebar/index.tsx @@ -92,7 +92,7 @@ const Sidebar: React.FC = ({ collapsed }) => { const { episodeId } = useContext(EpisodeContext); return collapsed ? null : ( -