diff --git a/site/source/design-system/accordion/index.tsx b/site/source/design-system/accordion/index.tsx index fb6708921..d68680b36 100644 --- a/site/source/design-system/accordion/index.tsx +++ b/site/source/design-system/accordion/index.tsx @@ -1,10 +1,9 @@ import { FocusStyle } from '@/design-system/global-style' import { useAccordion, useAccordionItem } from '@react-aria/accordion' -import { filterDOMProps } from '@react-aria/utils' import { TreeState, useTreeState } from '@react-stately/tree' import { AriaAccordionProps } from '@react-types/accordion' import { Node } from '@react-types/shared' -import React, { useRef } from 'react' +import { useRef } from 'react' import { animated, useSpring } from 'react-spring' import useMeasure from 'react-use-measure' import styled, { css } from 'styled-components' @@ -18,11 +17,7 @@ export default function Accordion( const { accordionProps } = useAccordion(props, state, ref) return ( - + {[...state.collection].map((item) => ( key={item.key} item={item} state={state} /> ))} @@ -62,7 +57,7 @@ function AccordionItem(props: AccordionItemProps) { }) return ( - + x.stopPropagation()}> {item.props.title} diff --git a/site/source/pages/gerer/declaration-revenu-independants/imposition.tsx b/site/source/pages/gerer/declaration-revenu-independants/imposition.tsx index 78d67ecdb..b6b29c3db 100644 --- a/site/source/pages/gerer/declaration-revenu-independants/imposition.tsx +++ b/site/source/pages/gerer/declaration-revenu-independants/imposition.tsx @@ -152,7 +152,6 @@ export default function Imposition() { - Si vous ne retrouvez pas ce document, ou si il n'est plus à jour, vous pouvez{' '} contacter le service des impôt pour qu'il diff --git a/site/source/pages/gerer/declaration-revenu-independants/index.tsx b/site/source/pages/gerer/declaration-revenu-independants/index.tsx index f1c3fea82..8d7e8ec21 100644 --- a/site/source/pages/gerer/declaration-revenu-independants/index.tsx +++ b/site/source/pages/gerer/declaration-revenu-independants/index.tsx @@ -10,6 +10,7 @@ import { Strong } from '@/design-system/typography' import { Link } from '@/design-system/typography/link' import { Li, Ul } from '@/design-system/typography/list' import { Body, Intro } from '@/design-system/typography/paragraphs' +import { omit } from '@/utils' import { useContext } from 'react' import { Trans, useTranslation } from 'react-i18next' import { Redirect, Route, Switch } from 'react-router' @@ -55,7 +56,7 @@ export default function AideDéclarationIndépendant() { {steps.map((step) => ( - + ))}