diff --git a/web/src/components/ToggleButton.tsx b/web/src/components/ToggleButton.tsx index 446f93ceda..184c8d4341 100644 --- a/web/src/components/ToggleButton.tsx +++ b/web/src/components/ToggleButton.tsx @@ -2,7 +2,6 @@ import { ReactElement } from 'react'; import * as ToggleGroupPrimitive from '@radix-ui/react-toggle-group'; import * as Tooltip from '@radix-ui/react-tooltip'; import { useTranslation } from '../translation/translation'; -import { HiOutlineInformationCircle } from 'react-icons/hi2'; interface ToggleButtonProperties { options: Array<{ value: string; translationKey: string }>; @@ -22,7 +21,7 @@ export default function ToggleButton({
diff --git a/web/src/features/panels/ranking-panel/RankingPanel.tsx b/web/src/features/panels/ranking-panel/RankingPanel.tsx index 630d988ca0..1d5e99941f 100644 --- a/web/src/features/panels/ranking-panel/RankingPanel.tsx +++ b/web/src/features/panels/ranking-panel/RankingPanel.tsx @@ -8,9 +8,7 @@ import { getRankedState } from './getRankingPanelData'; import SearchBar from './SearchBar'; import ZoneList from './ZoneList'; -interface RankingPanelProperties {} - -export default function RankingPanel(properties: RankingPanelProperties): ReactElement { +export default function RankingPanel(): ReactElement { const { __ } = useTranslation(); const getCo2colorScale = useCo2ColorScale(); const [timeAverage] = useAtom(timeAverageAtom); @@ -22,7 +20,7 @@ export default function RankingPanel(properties: RankingPanelProperties): ReactE setSearchTerm(lowerCase); }; - const { isLoading, isSuccess, isError, error, data } = useGetState(timeAverage); + const { isLoading, data } = useGetState(timeAverage); const rankedList = getRankedState(data, getCo2colorScale, 'asc', selectedDatetime); const filteredList = rankedList.filter((zone) => { if (zone.countryName && zone.countryName.toLowerCase().includes(searchTerm)) { diff --git a/web/src/features/panels/ranking-panel/ZoneList.tsx b/web/src/features/panels/ranking-panel/ZoneList.tsx index fc5647fe4e..f1d1b038a3 100644 --- a/web/src/features/panels/ranking-panel/ZoneList.tsx +++ b/web/src/features/panels/ranking-panel/ZoneList.tsx @@ -20,7 +20,7 @@ export interface ZoneRow { function ZoneRow({ zoneId, color, ranking, countryName, zoneName }: ZoneRow) { return ( diff --git a/web/tailwind.config.js b/web/tailwind.config.js index cbbb2d04e8..952c988b3c 100644 --- a/web/tailwind.config.js +++ b/web/tailwind.config.js @@ -12,6 +12,8 @@ const config = { }, colors: { 'brand-green': '#135836', + 'brand-yellow': '#E9B73B', + 'brand-brown': '#702214', }, }, fontFamily: {