fix(i18n): fix missing widget placeholder (#1861)

This commit is contained in:
Bartholomew 2018-11-09 16:17:55 +01:00 committed by Shawn Erquhart
parent 74bf3b704a
commit b1a7e006f6

View File

@ -6,7 +6,7 @@ import PropTypes from 'prop-types';
const UnknownPreview = ({ field, t }) => {
return (
<div className="nc-widgetPreview">
{t('editor.editorWidgets.unknownPreview.noPreview', field.get('widget'))}
{t('editor.editorWidgets.unknownPreview.noPreview', { widget: field.get('widget') })}
</div>
);
};