diff --git a/mailpoet/assets/js/src/context/use-notices.jsx b/mailpoet/assets/js/src/context/use-notices.jsx index d156b3c332..ce38d0e18c 100644 --- a/mailpoet/assets/js/src/context/use-notices.jsx +++ b/mailpoet/assets/js/src/context/use-notices.jsx @@ -1,6 +1,6 @@ import { useState, useCallback } from 'react'; import { createInterpolateElement } from '@wordpress/element'; -import { sprintf, __ } from '@wordpress/i18n'; +import { __ } from '@wordpress/i18n'; export const useNotices = () => { const [state, setState] = useState({ @@ -67,15 +67,12 @@ export const useNotices = () => {
{err.error === 'reinstall_plugin' ? createInterpolateElement( - sprintf( - __( - 'The plugin has encountered an unexpected error. Please reload the page. If that does not help, re-install the MailPoet Plugin. See: %s for more information', - 'mailpoet', - ), - ' https://kb.mailpoet.com/article/258-re-installing-updating-the-plugin-via-ftp ', + __( + 'The plugin has encountered an unexpected error. Please reload the page. If that does not help, re-install the MailPoet Plugin.', + 'mailpoet', ), { - a: ( + link: (