From 8cf6f3058122604e2687bfb7ba20e5354b8a7dca Mon Sep 17 00:00:00 2001 From: Nicholas Jaunsen <3789764+skykanin@users.noreply.github.com> Date: Fri, 28 Jun 2024 10:10:28 +0200 Subject: [PATCH] update team creation success text --- src/App.tsx | 2 +- src/pages/CreateTeamForm/CreateTeamForm.tsx | 2 +- src/pages/CreateTeamForm/TeamCreated.tsx | 7 ++++--- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/src/App.tsx b/src/App.tsx index ff8107c..e30d665 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -21,7 +21,7 @@ const App = () => { } /> } /> } /> - } /> + } /> } /> diff --git a/src/pages/CreateTeamForm/CreateTeamForm.tsx b/src/pages/CreateTeamForm/CreateTeamForm.tsx index 820dc78..5e2b0dd 100644 --- a/src/pages/CreateTeamForm/CreateTeamForm.tsx +++ b/src/pages/CreateTeamForm/CreateTeamForm.tsx @@ -186,7 +186,7 @@ const CreateTeamForm = () => { ) .then((result: { success: boolean; message: string; body: O.Option }) => { if (result.success) { - navigate('/opprett-team/suksess', { + navigate('/opprett-team/kvittering', { replace: true, state: { kubenPullRequestUrl: O.getOrThrow(result.body).kubenPullRequestUrl }, }) diff --git a/src/pages/CreateTeamForm/TeamCreated.tsx b/src/pages/CreateTeamForm/TeamCreated.tsx index 7cc8a1a..2cfa519 100644 --- a/src/pages/CreateTeamForm/TeamCreated.tsx +++ b/src/pages/CreateTeamForm/TeamCreated.tsx @@ -11,9 +11,10 @@ export interface TeamCreatedProps { const TeamCreated = () => { const { state }: { state: TeamCreatedProps } = useLocation() const renderContent = () => ( - - {`Opprettelse av team ble registert. Prosessen kan følges `} - her + + {`Team Skyinfrastruktur vil gi beskjed til seksjonsleder når teamet er opprettet og klar til bruk. Søknaden er `} + dokumentert på GitHub. + {'Opprett en Kundeservice-sak hvis du ønsker å gjøre endringer før teamet er opprettet.'} )