From 1ea2eabc114e3fe973e35c3f95a4146ee39a896b Mon Sep 17 00:00:00 2001 From: omsaggau Date: Mon, 26 Jun 2023 22:38:52 +0200 Subject: [PATCH] Change span to text --- src/main/resources/site/parts/mailChimpForm/mailChimpForm.jsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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}}