diff --git a/examples/simple-app/src/App.jsx b/examples/simple-app/src/App.jsx index 4aa68a11..cb5057e9 100644 --- a/examples/simple-app/src/App.jsx +++ b/examples/simple-app/src/App.jsx @@ -20,9 +20,7 @@ const Component = () => { {loading && ...} {data && ( <> -

- {i18n.t('Hello {{name}}', { name: data.me.name })} -

+

{i18n.t('Hello {{name}}', { name: data.me.name })}

{i18n.t('Have a great {{dayOfTheWeek}}!', { // NB: This won't localize on a dev build due to diff --git a/shell/src/PluginLoader.jsx b/shell/src/PluginLoader.jsx index e7357d90..df291237 100644 --- a/shell/src/PluginLoader.jsx +++ b/shell/src/PluginLoader.jsx @@ -55,11 +55,11 @@ const PluginResizeInner = ({ PluginResizeInner.propTypes = { D2App: PropTypes.object, + clientWidth: PropTypes.string, config: PropTypes.object, propsFromParent: PropTypes.object, resizePluginHeight: PropTypes.func, resizePluginWidth: PropTypes.func, - clientWidth: PropTypes.string, } const PluginInner = ({ @@ -93,11 +93,11 @@ const PluginInner = ({ PluginInner.propTypes = { D2App: PropTypes.object, + clientWidth: PropTypes.string, config: PropTypes.object, propsFromParent: PropTypes.object, resizePluginHeight: PropTypes.func, resizePluginWidth: PropTypes.func, - clientWidth: PropTypes.string, } export const PluginLoader = ({ config, requiredProps, D2App }) => {