From 46d1978f75d0c1c5ab47795aec88875afea7f2f2 Mon Sep 17 00:00:00 2001 From: Bjarke Madsen <bjarke@nordu.net> Date: Tue, 11 Feb 2025 23:01:58 +0100 Subject: [PATCH] remove unnecessary imports --- compendium-frontend/src/components/ColorBadge.tsx | 2 -- compendium-frontend/src/components/ColorPill.tsx | 2 -- .../src/components/download/DownloadContainer.tsx | 1 - 3 files changed, 5 deletions(-) diff --git a/compendium-frontend/src/components/ColorBadge.tsx b/compendium-frontend/src/components/ColorBadge.tsx index bc6b55da..9b098da9 100644 --- a/compendium-frontend/src/components/ColorBadge.tsx +++ b/compendium-frontend/src/components/ColorBadge.tsx @@ -1,5 +1,3 @@ -import React from "react"; - function ColorBadge({ index: index, active = true }) { return ( <div className="d-inline-block m-2" key={index}> diff --git a/compendium-frontend/src/components/ColorPill.tsx b/compendium-frontend/src/components/ColorPill.tsx index b0802a69..8c8fd457 100644 --- a/compendium-frontend/src/components/ColorPill.tsx +++ b/compendium-frontend/src/components/ColorPill.tsx @@ -1,5 +1,3 @@ -import React from "react"; - interface ColorPillProps { year: number; active: boolean; diff --git a/compendium-frontend/src/components/download/DownloadContainer.tsx b/compendium-frontend/src/components/download/DownloadContainer.tsx index cec9aef8..5c1c53d7 100644 --- a/compendium-frontend/src/components/download/DownloadContainer.tsx +++ b/compendium-frontend/src/components/download/DownloadContainer.tsx @@ -1,4 +1,3 @@ -import React from "react"; import DownloadDataButton from "./DownloadDataButton"; import DownloadImageChartButton from "./DownloadImageChartButton"; -- GitLab