Fix typo with import from app instead of App
This commit is contained in:
parent
8a4aface8b
commit
a320be734e
10
src/index.js
10
src/index.js
|
@ -6,11 +6,13 @@ import { render } from '@wordpress/element';
|
||||||
/**
|
/**
|
||||||
* Internal dependencies
|
* Internal dependencies
|
||||||
*/
|
*/
|
||||||
import { App } from './app';
|
import { App } from './App';
|
||||||
import './index.scss';
|
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 ) {
|
if (appRoot) {
|
||||||
render( <App/>, appRoot );
|
render(<App />, appRoot);
|
||||||
}
|
}
|
Loading…
Reference in New Issue