Skip to content

Commit

Permalink
chore: organize imports
Browse files Browse the repository at this point in the history
  • Loading branch information
Jaszkowic committed Jul 8, 2024
1 parent b46b0b2 commit 1a1ef83
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/components/stats/donut-chart.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React, { useRef, useEffect, useState, useMemo } from "react";
import * as d3 from "d3";
import { TreeSpecies } from "./stats";
import React, { useEffect, useRef, useState } from "react";
import { speciesColors, speciesLabelColor } from "./chart-colors";
import { TreeSpecies } from "./stats";

interface DonutChartProps {
treeSpecies: TreeSpecies[];
Expand Down
6 changes: 3 additions & 3 deletions src/components/stats/line-chart.tsx
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
import React, { useRef, useEffect } from "react";
import { formatDate } from "date-fns";
import * as d3 from "d3";
import { formatDate } from "date-fns";
import React, { useEffect, useRef } from "react";
import { useI18nStore } from "../../i18n/i18n-store";
import { Monthly, Yearly } from "./stats";
import {
defaultLabelColor,
defaultWaterFillColor,
indicatorLineColor,
} from "./chart-colors";
import { Yearly } from "./stats";

interface LineChartProps {
yearlyData: Yearly[];
Expand Down

0 comments on commit 1a1ef83

Please sign in to comment.