Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
SemenStruchev committed Jul 21, 2023
1 parent 480f22b commit 7219df3
Showing 1 changed file with 2 additions and 12 deletions.
14 changes: 2 additions & 12 deletions src/components/Breakdown.jsx
Original file line number Diff line number Diff line change
@@ -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 = {
Expand Down Expand Up @@ -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 (
Expand Down

0 comments on commit 7219df3

Please sign in to comment.