diff --git a/components/atoms/Card/Progress/index.js b/components/atoms/Card/Progress/index.js index c59e0b0..1c583a8 100644 --- a/components/atoms/Card/Progress/index.js +++ b/components/atoms/Card/Progress/index.js @@ -3,40 +3,36 @@ import { useEffect } from 'react'; import { AiOutlineArrowRight } from 'react-icons/ai'; import { HiOutlineArrowNarrowRight } from 'react-icons/hi'; -const CardProgress = ({ - title, - amount, - currency, - operations, - link, -}) => { +const CardProgress = ({ title, amount, currency, operations, link }) => { const somme = operations.reduce( (accumulateur, objet) => accumulateur + objet.amount, 0, ); const percent = (somme / amount) * 100; - useEffect(() => { }, [somme]); + useEffect(() => {}, [somme]); return (