Skip to content

Commit

Permalink
feat(admin-react): remove small notice about legacy candidacy update …
Browse files Browse the repository at this point in the history
…rule
  • Loading branch information
cedricss committed Nov 12, 2024
1 parent 225ca39 commit 34433e5
Showing 1 changed file with 1 addition and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
import { CandidacyBackButton } from "@/components/candidacy-back-button/CandidacyBackButton";
import { FormOptionalFieldsDisclaimer } from "@/components/form-optional-fields-disclaimer/FormOptionalFieldsDisclaimer";
import { useGraphQlClient } from "@/components/graphql/graphql-client/GraphqlClient";
import { SmallNotice } from "@/components/small-notice/SmallNotice";
import { graphqlErrorToast, successToast } from "@/components/toast/toast";
import { graphql } from "@/graphql/generated";
import { Button } from "@codegouvfr/react-dsfr/Button";
Expand All @@ -26,7 +25,7 @@ const schema = z
.object({
firstAppointmentOccuredAt: z.string({
required_error:
"Cette information est obligatoire pour continuer le parcours. Le candidat pourra modifier sa candidature jusqu'à cette date, au-delà de laquelle toute modification sera bloquée.",
"Cette information est obligatoire pour continuer le parcours.",
}),
candidacyCreatedAt: z.string(),
})
Expand Down Expand Up @@ -207,11 +206,6 @@ const MeetingsPage = () => {
/>

<input type="hidden" {...register("candidacyCreatedAt")} />

<SmallNotice>
Le candidat pourra modifier sa candidature jusqu'à cette date,
au-delà de laquelle toute modification sera bloquée.
</SmallNotice>
<div className="flex flex-col md:flex-row gap-4 items-center self-center md:self-end mt-10">
<Button disabled={isSubmitting}>Enregistrer</Button>
</div>
Expand Down

0 comments on commit 34433e5

Please sign in to comment.