From bdffc96b4cef7c7f9390dbaf662a8d30fb13bdf2 Mon Sep 17 00:00:00 2001 From: jongomez Date: Thu, 26 Oct 2023 18:27:39 +0100 Subject: [PATCH] fix: change go to home page link to just a button that closes the dialog --- .../NewsletterSubscriptionForm.tsx | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/components/NewsletterSubscriptionForm/NewsletterSubscriptionForm.tsx b/src/components/NewsletterSubscriptionForm/NewsletterSubscriptionForm.tsx index 6986d7e5..42878f53 100644 --- a/src/components/NewsletterSubscriptionForm/NewsletterSubscriptionForm.tsx +++ b/src/components/NewsletterSubscriptionForm/NewsletterSubscriptionForm.tsx @@ -6,7 +6,6 @@ import { Typography, } from '@acid-info/lsd-react' import styled from '@emotion/styled' -import Link from 'next/link' type NewsletterSubscriptionFormProps = React.HTMLAttributes & { handleFormSubmit: (e: React.FormEvent) => void @@ -44,9 +43,9 @@ export default function NewsletterSubscriptionForm({ {successMessage} - - To home page - + + Go back + )}