We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bd81ea2 commit 17fa165Copy full SHA for 17fa165
packages/app/src/app/(default)/index-egapro/declaration/confirmation/page.tsx
@@ -23,12 +23,10 @@ type Props = {
23
};
24
25
const ButtonOpMc = ({ index, siren, year }: Props) => {
26
- const router = useRouter();
27
-
28
if (index === undefined || index > 85) return null;
29
30
return (
31
- <Button onClick={() => router.push(`/index-egapro/objectifs-mesures/${siren}/${year}`)}>
+ <Button onClick={() => window.open(`/index-egapro/objectifs-mesures/${siren}/${year}`, "_blank")}>
32
{index >= 75
33
? "Déclarer les objectifs de progression"
34
: "Déclarer les objectifs de progression et mesures de correction"}
0 commit comments