From c51e9e06bd9e2872e8224e94f45ba35264be0131 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B3hanna=20Magn=C3=BAsd=C3=B3ttir?= Date: Thu, 9 Jan 2025 14:01:51 -0500 Subject: [PATCH] Cleanup conclusionForm --- .../templates/secondary-school/src/forms/conclusionForm.ts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/libs/application/templates/secondary-school/src/forms/conclusionForm.ts b/libs/application/templates/secondary-school/src/forms/conclusionForm.ts index 914a38178589..f43f9065a803 100644 --- a/libs/application/templates/secondary-school/src/forms/conclusionForm.ts +++ b/libs/application/templates/secondary-school/src/forms/conclusionForm.ts @@ -5,11 +5,10 @@ import { buildMessageWithLinkButtonField, buildMultiField, buildSection, - buildSubmitField, coreMessages, getValueViaPath, } from '@island.is/application/core' -import { DefaultEvents, Form, FormModes } from '@island.is/application/types' +import { Form, FormModes } from '@island.is/application/types' import { conclusion } from '../lib/messages' import { Logo } from '../assets/Logo' import { ApplicationType } from '../utils' @@ -19,7 +18,6 @@ export const Conclusion: Form = buildForm({ title: '', logo: Logo, mode: FormModes.IN_PROGRESS, - renderLastScreenButton: true, children: [ buildSection({ id: 'conclusionSection', @@ -69,6 +67,7 @@ export const Conclusion: Form = buildForm({ url: '/minarsidur/umsoknir', buttonTitle: coreMessages.openServicePortalButtonTitle, message: coreMessages.openServicePortalMessageText, + marginBottom: [4, 4, 12], }), ], }),