fix: change go to home page link to just a button that closes the dialog
This commit is contained in:
parent
58c8b31023
commit
bdffc96b4c
|
@ -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<HTMLDivElement> & {
|
||||
handleFormSubmit: (e: React.FormEvent<HTMLFormElement>) => void
|
||||
|
@ -44,9 +43,9 @@ export default function NewsletterSubscriptionForm({
|
|||
{successMessage}
|
||||
</SubmitionInfoMessage>
|
||||
</MessageContainer>
|
||||
<Link href="/" onClick={onClose}>
|
||||
<ToHomePageButton variant="filled">To home page</ToHomePageButton>
|
||||
</Link>
|
||||
<ToHomePageButton variant="filled" onClick={onClose}>
|
||||
Go back
|
||||
</ToHomePageButton>
|
||||
</>
|
||||
)}
|
||||
|
||||
|
|
Loading…
Reference in New Issue