Répare le lien pour modifier l'estimation du revenu

pull/2782/head
Johan Girod 2023-06-30 12:06:10 +02:00
parent 25562d1ed3
commit 612d7bbb83
2 changed files with 8 additions and 15 deletions

View File

@ -181,9 +181,7 @@ const ModifierOptions = ({
</div>
<Spacing md />
<H4 as="h2">
Impôt sur le revenu, impôt sur les sociétés : que choisir ?
</H4>
<H4 as="h2">Quelle imposition pour mon entreprise ?</H4>
<Body>
Vous pouvez{' '}
<Strong>

View File

@ -5,12 +5,12 @@ import Value from '@/components/EngineValue'
import { CardContainer } from '@/design-system/card/Card'
import { EditIcon } from '@/design-system/icons'
import { Grid } from '@/design-system/layout'
import { StyledLink } from '@/design-system/typography/link'
import { Link } from '@/design-system/typography/link'
import { Body } from '@/design-system/typography/paragraphs'
import { useGetFullURL } from '@/hooks/useGetFullURL'
import { useSitePaths } from '@/sitePaths'
const RevenuEstimé = () => {
const fullURL = useGetFullURL()
const { absoluteSitePaths } = useSitePaths()
return (
<CardContainer
@ -49,17 +49,16 @@ const RevenuEstimé = () => {
/>
</StyledGrid>
<GridEditLink item xs={12} lg={3}>
<StyledA
as={StyledLink}
href={`${fullURL}#simulation-comparateur`}
$noUnderline
<Link
to={absoluteSitePaths.assistants['choix-du-statut'].rémunération}
// $noUnderline
css={`
display: inline-flex;
align-items: center;
`}
>
<StyledEditIcon /> Modifier les informations
</StyledA>
</Link>
</GridEditLink>
</Grid>
</CardContainer>
@ -115,8 +114,4 @@ const GridEditLink = styled(Grid)`
}
`
const StyledA = styled.a`
text-decoration: none;
`
export default RevenuEstimé