-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
21 changed files
with
107 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
"use client"; | ||
|
||
import { useRouter } from "next/navigation"; | ||
import { useEffect } from "react"; | ||
|
||
export const RedirectedUrl = () => { | ||
const routeur = useRouter(); | ||
|
||
useEffect(() => { | ||
const redirectedUrl = window.sessionStorage.getItem("redirectUrl"); | ||
if (redirectedUrl) { | ||
window.sessionStorage.removeItem("redirectUrl"); | ||
routeur.push(redirectedUrl); | ||
} | ||
}, []); | ||
|
||
return null; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,7 +25,7 @@ const MesEntreprisesInfoAlert = () => ( | |
</p> | ||
<p> | ||
{" "} | ||
Si vous souhaitez supprimer une adresse mail rattachée à un siren, veuillez{" "} | ||
Si vous souhaitez supprimer une adresse email rattachée à un siren, veuillez{" "} | ||
<Link target="_blank" href={"mailto:[email protected]"}> | ||
contacter MonComptePro | ||
</Link>{" "} | ||
|
@@ -38,7 +38,7 @@ const MesEntreprisesInfoAlert = () => ( | |
> | ||
créer un nouveau compte MonComptePro | ||
</Link>{" "} | ||
pour rattacher une autre adresse mail à un numéro Siren. | ||
pour rattacher une autre adresse email à un numéro Siren. | ||
</p> | ||
</> | ||
} | ||
|
@@ -62,8 +62,10 @@ const MesEntreprisesPage = async ({ searchParams }: NextServerPageProps<never, " | |
</Box> | ||
<p> | ||
<br /> | ||
Vous souhaitez rattacher votre adresse mail à un autre Siren,{" "} | ||
<Link href="https://app.moncomptepro.beta.gouv.fr/manage-organizations">cliquez ici</Link> | ||
Vous souhaitez rattacher votre adresse email à un autre Siren,{" "} | ||
<Link target="_blank" href="https://app.moncomptepro.beta.gouv.fr/manage-organizations"> | ||
cliquez ici | ||
</Link> | ||
</p> | ||
</Box> | ||
</MessageProvider> | ||
|
@@ -84,8 +86,10 @@ const MesEntreprisesPage = async ({ searchParams }: NextServerPageProps<never, " | |
</Box> | ||
<p> | ||
<br /> | ||
Vous souhaitez rattacher votre adresse mail à un autre Siren,{" "} | ||
<Link href="https://app.moncomptepro.beta.gouv.fr/manage-organizations">cliquez ici</Link> | ||
Vous souhaitez rattacher votre adresse email à un autre Siren,{" "} | ||
<Link target="_blank" href="https://app.moncomptepro.beta.gouv.fr/manage-organizations"> | ||
cliquez ici | ||
</Link> | ||
</p> | ||
<Box mt="4w"> | ||
<Heading as="h1" variant="h6" text="Responsables" /> | ||
|
@@ -107,7 +111,7 @@ const MesEntreprisesPage = async ({ searchParams }: NextServerPageProps<never, " | |
</Box> | ||
<p> | ||
<br /> | ||
Vous souhaitez rattacher votre adresse mail à un autre Siren,{" "} | ||
Vous souhaitez rattacher votre adresse email à un autre Siren,{" "} | ||
<Link href="https://app.moncomptepro.beta.gouv.fr/manage-organizations">cliquez ici</Link> | ||
</p> | ||
<Box mt="4w">Pas d'utilisateur pour ce Siren ou Url invalide</Box> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,8 +24,7 @@ const MesEntreprisesInfoAlert = () => ( | |
entreprises. | ||
</p> | ||
<p> | ||
{" "} | ||
Si vous souhaitez supprimer une adresse mail rattachée à un siren, veuillez{" "} | ||
Si vous souhaitez supprimer une adresse email rattachée à un siren, veuillez{" "} | ||
<Link target="_blank" href={"mailto:[email protected]"}> | ||
contacter MonComptePro | ||
</Link>{" "} | ||
|
@@ -38,7 +37,7 @@ const MesEntreprisesInfoAlert = () => ( | |
> | ||
créer un nouveau compte MonComptePro | ||
</Link>{" "} | ||
pour rattacher une autre adresse mail à un numéro Siren. | ||
pour rattacher une autre adresse email à un numéro Siren. | ||
</p> | ||
</> | ||
} | ||
|
@@ -96,7 +95,7 @@ const MesEntreprisesPage = async ({ searchParams }: NextServerPageProps<never, " | |
<SelectSiren sirenList={sirenList} loadedSiren={selectedSiren} /> | ||
<p> | ||
<br /> | ||
Vous souhaitez rattacher votre adresse mail à un autre Siren,{" "} | ||
Vous souhaitez rattacher votre adresse email à un autre Siren,{" "} | ||
<Link | ||
target="_blank" | ||
href={`https://app${ | ||
|
@@ -128,7 +127,7 @@ const MesEntreprisesPage = async ({ searchParams }: NextServerPageProps<never, " | |
<SelectSiren sirenList={sirenList} /> | ||
<p> | ||
<br /> | ||
Vous souhaitez rattacher votre adresse mail à un autre Siren,{" "} | ||
Vous souhaitez rattacher votre adresse email à un autre Siren,{" "} | ||
<Link | ||
target="_blank" | ||
href={`https://app${ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.