From c0a0ddf2e00b6d761e32617d09af91581adcfd62 Mon Sep 17 00:00:00 2001 From: Kipruto <43873157+kelvinkipruto@users.noreply.github.com> Date: Wed, 17 Jul 2024 14:03:24 +0300 Subject: [PATCH] Fix linting issues --- apps/climatemappedafrica/src/components/HURUmap/Chart/index.js | 2 +- .../src/components/HURUmap/KeyMetric/index.js | 3 +-- apps/pesayetu/src/components/HURUmap/Chart/index.js | 2 +- apps/pesayetu/src/components/HURUmap/KeyMetric/index.js | 3 +-- 4 files changed, 4 insertions(+), 6 deletions(-) diff --git a/apps/climatemappedafrica/src/components/HURUmap/Chart/index.js b/apps/climatemappedafrica/src/components/HURUmap/Chart/index.js index 9dd399e25..c818dacf8 100644 --- a/apps/climatemappedafrica/src/components/HURUmap/Chart/index.js +++ b/apps/climatemappedafrica/src/components/HURUmap/Chart/index.js @@ -1,3 +1,4 @@ +import { Source } from "@hurumap/next"; import { useMediaQuery } from "@mui/material"; import { ThemeProvider, StyledEngineProvider } from "@mui/material/styles"; import makeStyles from "@mui/styles/makeStyles"; @@ -12,7 +13,6 @@ import { calculateTooltipPosition, idify } from "./utils"; import ChartTooltip from "@/climatemappedafrica/components/HURUmap/ChartTooltip"; import IndicatorTitle from "@/climatemappedafrica/components/HURUmap/IndicatorTitle"; -import { Source } from "@hurumap/next"; import theme from "@/climatemappedafrica/theme"; const useStyles = makeStyles(() => ({ diff --git a/apps/climatemappedafrica/src/components/HURUmap/KeyMetric/index.js b/apps/climatemappedafrica/src/components/HURUmap/KeyMetric/index.js index 5bce5220c..49d6a2712 100644 --- a/apps/climatemappedafrica/src/components/HURUmap/KeyMetric/index.js +++ b/apps/climatemappedafrica/src/components/HURUmap/KeyMetric/index.js @@ -1,3 +1,4 @@ +import { Source } from "@hurumap/next"; import { Tooltip, Typography, LinearProgress } from "@mui/material"; import clsx from "clsx"; import PropTypes from "prop-types"; @@ -5,8 +6,6 @@ import React from "react"; import useStyles from "./useStyles"; -import { Source } from "@hurumap/next"; - function KeyMetric({ className, formattedValue: formattedValueProp, diff --git a/apps/pesayetu/src/components/HURUmap/Chart/index.js b/apps/pesayetu/src/components/HURUmap/Chart/index.js index 4d26babc8..903460bba 100644 --- a/apps/pesayetu/src/components/HURUmap/Chart/index.js +++ b/apps/pesayetu/src/components/HURUmap/Chart/index.js @@ -1,3 +1,4 @@ +import { Source } from "@hurumap/next"; import { useMediaQuery } from "@mui/material"; import { ThemeProvider, StyledEngineProvider } from "@mui/material/styles"; import makeStyles from "@mui/styles/makeStyles"; @@ -12,7 +13,6 @@ import { calculateTooltipPosition, idify } from "./utils"; import ChartTooltip from "@/pesayetu/components/HURUmap/ChartTooltip"; import IndicatorTitle from "@/pesayetu/components/HURUmap/IndicatorTitle"; -import { Source } from "@hurumap/next"; import theme from "@/pesayetu/theme"; const useStyles = makeStyles(() => ({ diff --git a/apps/pesayetu/src/components/HURUmap/KeyMetric/index.js b/apps/pesayetu/src/components/HURUmap/KeyMetric/index.js index 5bce5220c..49d6a2712 100644 --- a/apps/pesayetu/src/components/HURUmap/KeyMetric/index.js +++ b/apps/pesayetu/src/components/HURUmap/KeyMetric/index.js @@ -1,3 +1,4 @@ +import { Source } from "@hurumap/next"; import { Tooltip, Typography, LinearProgress } from "@mui/material"; import clsx from "clsx"; import PropTypes from "prop-types"; @@ -5,8 +6,6 @@ import React from "react"; import useStyles from "./useStyles"; -import { Source } from "@hurumap/next"; - function KeyMetric({ className, formattedValue: formattedValueProp,