diff --git a/src/main/resources/site/parts/mailChimpForm/mailChimpForm.jsx b/src/main/resources/site/parts/mailChimpForm/mailChimpForm.jsx index 2a81f41b9..94c6c6d4a 100644 --- a/src/main/resources/site/parts/mailChimpForm/mailChimpForm.jsx +++ b/src/main/resources/site/parts/mailChimpForm/mailChimpForm.jsx @@ -1,6 +1,6 @@ import React, { useState } from 'react' import PropTypes from 'prop-types' -import { Button, Input, Text } from '@statisticsnorway/ssb-component-library' +import { Button, Input, Paragraph } from '@statisticsnorway/ssb-component-library' function MailchimpForm(props) { const [email, setEmail] = useState({ @@ -22,7 +22,7 @@ function MailchimpForm(props) { const mailMojoForm = props.endpoint && !props.id return (
- {props.text && {props.text}} + {props.text && {props.text}}