Fix typo with import from app instead of App
This commit is contained in:
parent
8a4aface8b
commit
a320be734e
12
src/index.js
12
src/index.js
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue