diff --git a/src/PrivacyProtection/PrivacyProtection.jsx b/src/PrivacyProtection/PrivacyProtection.jsx index 05defb6..4ea1bd0 100644 --- a/src/PrivacyProtection/PrivacyProtection.jsx +++ b/src/PrivacyProtection/PrivacyProtection.jsx @@ -5,7 +5,6 @@ import cookie from 'react-cookie'; import { Button, Checkbox } from 'semantic-ui-react'; import { defineMessages, injectIntl } from 'react-intl'; import { useDispatch } from 'react-redux'; -import { serializeNodes } from 'volto-slate/editor/render'; import { toast } from 'react-toastify'; import config from '@plone/volto/registry'; import '../css/embed-styles.css'; @@ -121,19 +120,12 @@ export default injectIntl( >
- {typeof dataprotection.privacy_statement === 'string' ? ( -
- ) : ( -
- {serializeNodes(dataprotection.privacy_statement || [])} -
- )} - +