Skip to content

Commit

Permalink
🔨 deduplicate import statements
Browse files Browse the repository at this point in the history
  • Loading branch information
sophiamersmann committed Dec 10, 2024
1 parent 717849c commit f29f46f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import {
last,
maxBy,
} from "@ourworldindata/utils"
import { TextWrap, TextWrapGroup } from "@ourworldindata/components"
import { TextWrap, TextWrapGroup, Halo } from "@ourworldindata/components"
import { computed } from "mobx"
import { observer } from "mobx-react"
import { VerticalAxis } from "../axis/Axis"
Expand All @@ -32,7 +32,6 @@ import {
import { ChartSeries } from "../chart/ChartInterface"
import { darkenColorForText } from "../color/ColorUtils"
import { AxisConfig } from "../axis/AxisConfig.js"
import { Halo } from "@ourworldindata/components"

// Minimum vertical space between two legend items
const LEGEND_ITEM_MIN_SPACING = 4
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React from "react"
import { computed } from "mobx"
import { scaleLinear, ScaleLinear } from "d3-scale"
import { TextWrap } from "@ourworldindata/components"
import { TextWrap, Halo } from "@ourworldindata/components"
import {
Color,
first,
Expand All @@ -18,7 +18,6 @@ import {
GRAPHER_LIGHT_TEXT,
} from "../core/GrapherConstants"
import { CoreColumn } from "@ourworldindata/core-table"
import { Halo } from "@ourworldindata/components"
import {
ScatterSeries,
SCATTER_POINT_MAX_RADIUS,
Expand Down

0 comments on commit f29f46f

Please sign in to comment.