Skip to content

Commit

Permalink
🔥 Retirer les liens vers la liste des candidats à l'import (#2221)
Browse files Browse the repository at this point in the history
  • Loading branch information
benjlevesque authored Sep 19, 2024
1 parent a2cc656 commit 75cd41d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 17 deletions.
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
import { FC } from 'react';
import Alert from '@codegouvfr/react-dsfr/Alert';
import Link from 'next/link';

import { Routes } from '@potentiel-applications/routes';

import { Heading1 } from '@/components/atoms/headings';
import { ColumnPageTemplate } from '@/components/templates/ColumnPage.template';
Expand All @@ -13,14 +10,7 @@ export const CorrigerCandidaturesPage: FC = () => (
<ColumnPageTemplate
banner={<Heading1 className="text-theme-white">Corriger des candidats</Heading1>}
leftColumn={{
children: (
<>
<CorrigerCandidaturesForm />
<div className="mt-4">
<Link href={Routes.Candidature.lister()}>Voir tous les candidats</Link>
</div>
</>
),
children: <CorrigerCandidaturesForm />,
}}
rightColumn={{
children: (
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
import { FC } from 'react';
import Link from 'next/link';

import { Routes } from '@potentiel-applications/routes';

import { Heading1 } from '@/components/atoms/headings';
import { PageTemplate } from '@/components/templates/Page.template';
Expand All @@ -11,8 +8,5 @@ import { ImporterCandidaturesForm } from './ImporterCandidatures.form';
export const ImporterCandidaturesPage: FC = () => (
<PageTemplate banner={<Heading1 className="text-theme-white">Importer des candidats</Heading1>}>
<ImporterCandidaturesForm />
<div className="mt-4">
<Link href={Routes.Candidature.lister()}>Voir tous les candidats</Link>
</div>
</PageTemplate>
);

0 comments on commit 75cd41d

Please sign in to comment.