From 1b94896475544a114df08e670561b7c1be81f176 Mon Sep 17 00:00:00 2001 From: Wille Marcel Date: Tue, 2 Jul 2024 07:42:30 -0300 Subject: [PATCH] Lint code --- src/components/timeline/__tests__/map.test.js | 5 ++++- src/icons/static-platform-icons.js | 1 - 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/components/timeline/__tests__/map.test.js b/src/components/timeline/__tests__/map.test.js index c6e8d203..8e2c4357 100644 --- a/src/components/timeline/__tests__/map.test.js +++ b/src/components/timeline/__tests__/map.test.js @@ -3,7 +3,10 @@ import renderer, { act } from "react-test-renderer" import { MapLegend, PlatformStatus } from "../map" import { LineIcon } from "../../../icons" -import { BalloonIcon, FieldSiteIcon } from "../../../icons/static-platform-icons" +import { + BalloonIcon, + FieldSiteIcon, +} from "../../../icons/static-platform-icons" jest.mock("react-tooltip", () => ({ Tooltip: () =>
Mocked tooltip
, diff --git a/src/icons/static-platform-icons.js b/src/icons/static-platform-icons.js index 0ab92cda..35a73d5d 100644 --- a/src/icons/static-platform-icons.js +++ b/src/icons/static-platform-icons.js @@ -1,6 +1,5 @@ /* eslint-disable react/prop-types */ import React from "react" -import PropTypes from "prop-types" import { sizes } from "./utils" // All icons by // Font Awesome Free 6.5.2 by @fontawesome - https://fontawesome.com