diff --git a/packages/components/src/sandbox/index.js b/packages/components/src/sandbox/index.js index 31c36f162f1324..bbc5097aa46246 100644 --- a/packages/components/src/sandbox/index.js +++ b/packages/components/src/sandbox/index.js @@ -143,8 +143,8 @@ class Sandbox extends Component { // keeping the correct aspect ratio. var potentialIframe = document.body.children[0]; if ( 'DIV' === potentialIframe.tagName || 'SPAN' === potentialIframe.tagName ) { - potentialIframe = potentialIframe.children[0]; - } + potentialIframe = potentialIframe.children[0]; + } if ( potentialIframe && 'IFRAME' === potentialIframe.tagName ) { if ( potentialIframe.width ) { iframe = potentialIframe; diff --git a/packages/compose/src/with-global-events/index.js b/packages/compose/src/with-global-events/index.js index f9d2c8b194756d..f00f222a2d2beb 100644 --- a/packages/compose/src/with-global-events/index.js +++ b/packages/compose/src/with-global-events/index.js @@ -61,12 +61,12 @@ function withGlobalEvents( eventTypesToHandlers ) { } render() { - return ; + return ; } } return forwardRef( ( props, ref ) => { - return ; + return ; } ); }, 'withGlobalEvents' ); }