Skip to content

Commit

Permalink
remove unnecessary code
Browse files Browse the repository at this point in the history
  • Loading branch information
MariusPele committed Sep 25, 2024
1 parent 0f707ee commit 2cede4b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/components/navigation/Continuer.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { useCallback, useState } from 'react';
import { Button } from '@codegouvfr/react-dsfr/Button';
import { useNavigate, useParams } from 'react-router';
import { useNavigate } from 'react-router';
import { isComponentsContainSequence } from '../../lib/commons/isComponentscontainSequence';
import { ComponentType } from '../../typeLunatic/type-source';
import { CollectStatusEnum, OrchestratedElement } from '../../typeStromae/type';
Expand Down Expand Up @@ -57,7 +57,6 @@ export function Continuer(props: OrchestratedElement) {
} = props;
const navigate = useNavigate();
const saveSuData = useSaveSurveyUnitStateData();
const { unit, survey } = useParams();
const buttonContent =
waiting || saving
? `Chargement`
Expand Down

0 comments on commit 2cede4b

Please sign in to comment.