Fix typo with import from app instead of App

This commit is contained in:
Joel Thiessen 2021-03-25 13:11:36 -07:00
parent 8a4aface8b
commit a320be734e
1 changed files with 7 additions and 5 deletions

View File

@ -6,11 +6,13 @@ import { render } from '@wordpress/element';
/**
* Internal dependencies
*/
import { App } from './app';
import { App } from './App';
import './index.scss';
const appRoot = document.getElementById( 'woocommerce-admin-test-helper-app-root' );
const appRoot = document.getElementById(
'woocommerce-admin-test-helper-app-root'
);
if ( appRoot ) {
render( <App/>, appRoot );
}
if (appRoot) {
render(<App />, appRoot);
}