Skip to content

Commit

Permalink
Merge branch 'ft-charts-data' of github.com:parlemonde/1village into …
Browse files Browse the repository at this point in the history
…ft-charts-data
  • Loading branch information
MelissaOlas committed May 22, 2024
2 parents 9ce80fd + 2bb1307 commit c8825b0
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/components/admin/dashboard-statistics/CountryStats.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ import BarCharts from './charts/BarCharts';
import DashboardTable from './charts/DashboardTable';
import HorizontalChart from './charts/HorizontalChart';
import PieCharts from './charts/PieCharts';
import PhaseDropdown from './filters/PhaseDropdown'
import PhaseDropdown from './filters/PhaseDropdown';

Check warning on line 7 in src/components/admin/dashboard-statistics/CountryStats.tsx

View workflow job for this annotation

GitHub Actions / lint

'/home/runner/work/1village/1village/src/components/admin/dashboard-statistics/filters/PhaseDropdown.tsx' imported multiple times
import styles from './styles/charts.module.css';

Check warning on line 8 in src/components/admin/dashboard-statistics/CountryStats.tsx

View workflow job for this annotation

GitHub Actions / lint

'/home/runner/work/1village/1village/src/components/admin/dashboard-statistics/styles/charts.module.css' imported multiple times
import PhaseDropdown from './filters/PhaseDropdown';

Check failure on line 9 in src/components/admin/dashboard-statistics/CountryStats.tsx

View workflow job for this annotation

GitHub Actions / lint

`./filters/PhaseDropdown` import should occur before import of `./styles/charts.module.css`

Check warning on line 9 in src/components/admin/dashboard-statistics/CountryStats.tsx

View workflow job for this annotation

GitHub Actions / lint

'/home/runner/work/1village/1village/src/components/admin/dashboard-statistics/filters/PhaseDropdown.tsx' imported multiple times
import styles from './styles/charts.module.css';

Check warning on line 10 in src/components/admin/dashboard-statistics/CountryStats.tsx

View workflow job for this annotation

GitHub Actions / lint

'/home/runner/work/1village/1village/src/components/admin/dashboard-statistics/styles/charts.module.css' imported multiple times

const pieChartData = {
Expand All @@ -17,6 +19,8 @@ const pieChartData = {

const barChartData = [{ data: [4, 3, 5] }, { data: [1, 6, 3] }, { data: [2, 5, 6] }];

const barChartData = [{ data: [4, 3, 5] }, { data: [1, 6, 3] }, { data: [2, 5, 6] }];

const CountryStats = () => {
return (
<>
Expand Down

0 comments on commit c8825b0

Please sign in to comment.