/**
* External dependencies
*/
import '@wordpress/notices';
import { render } from '@wordpress/element';
/**
* Internal dependencies
*/
import './stylesheets/_index.scss';
import { PageLayout, EmbedLayout, PrimaryLayout as NoticeArea } from './layout';
import 'wc-api/wp-data-store';
import { withSettingsHydration } from '@woocommerce/data';
const appRoot = document.getElementById( 'root' );
const settingsGroup = 'wc_admin';
if ( appRoot ) {
const HydratedPageLayout = withSettingsHydration( settingsGroup, window.wcSettings )(
PageLayout
);
render(