From 7219df3142cd10fb8e80441232472102e879baed Mon Sep 17 00:00:00 2001 From: SemenStruchev Date: Fri, 21 Jul 2023 13:09:20 +0300 Subject: [PATCH] fix lint --- src/components/Breakdown.jsx | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/src/components/Breakdown.jsx b/src/components/Breakdown.jsx index 9eb1548ca..be112ba44 100644 --- a/src/components/Breakdown.jsx +++ b/src/components/Breakdown.jsx @@ -1,6 +1,6 @@ import clsx from "clsx"; import PropTypes from "prop-types"; -import React, { createContext, useContext, useRef, useState, useEffect } from "react"; +import React, { createContext, useContext } from "react"; import { Currency } from "./Utilities/Currency"; const colors = { @@ -32,17 +32,7 @@ Breakdown.propTypes = { currency: PropTypes.string.isRequired, }; -const BreakdownItem = ({ - children, - info, - methodIcon, - secondary, - date, - value, - className, - color = "default", - ...rest -}) => { +const BreakdownItem = ({ children, info, methodIcon, secondary, value, className, color = "default", ...rest }) => { const currency = useContext(CurrencyContext); return (