Skip to content

Commit

Permalink
refactor(candidate): update experiences page routing and remove new e…
Browse files Browse the repository at this point in the history
…xperience page
  • Loading branch information
ThomasDos committed Feb 28, 2025
1 parent ad88254 commit 18747e0
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 25 deletions.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ export default function ExperiencesPage() {
<hr />
<div>
<Link
href="/experiences/new"
href="/experiences/add"
className="flex items-center gap-2 mb-6 fr-link w-fit bg-none"
>
<span className="fr-icon-add-line fr-icon--sm" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ export const useCandidacy = () => {
const isCurrentlySubmitted = candidacyStatus === "PARCOURS_ENVOYE";

const isTrainingConfirmed =
candidacy?.candidacyStatuses.findIndex(
candidacy?.candidacyStatuses?.findIndex(
(status) => status.status == "PARCOURS_CONFIRME",
) != -1 && !isCurrentlySubmitted;

Expand Down

0 comments on commit 18747e0

Please sign in to comment.