2018-06-26 14:49:42 +00:00
|
|
|
/** @format */
|
|
|
|
/**
|
|
|
|
* External dependencies
|
|
|
|
*/
|
|
|
|
import { render } from '@wordpress/element';
|
|
|
|
import { Provider as SlotFillProvider } from 'react-slot-fill';
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Internal dependencies
|
|
|
|
*/
|
2018-08-06 15:30:43 +00:00
|
|
|
import './stylesheets/_embedded.scss';
|
2018-06-26 14:49:42 +00:00
|
|
|
import { EmbedLayout } from './layout';
|
2019-02-13 11:44:58 +00:00
|
|
|
import 'store';
|
2018-12-06 22:08:40 +00:00
|
|
|
import 'wc-api/wp-data-store';
|
2018-06-26 14:49:42 +00:00
|
|
|
|
|
|
|
render(
|
2018-09-11 19:48:43 +00:00
|
|
|
<SlotFillProvider>
|
|
|
|
<EmbedLayout />
|
|
|
|
</SlotFillProvider>,
|
2018-06-26 14:49:42 +00:00
|
|
|
document.getElementById( 'woocommerce-embedded-root' )
|
|
|
|
);
|