2020-10-13 01:40:53 +00:00
|
|
|
/**
|
|
|
|
* External dependencies
|
|
|
|
*/
|
|
|
|
import { SlotFillProvider } from '@wordpress/components';
|
|
|
|
import { PluginArea } from '@wordpress/plugins';
|
2020-10-21 17:02:45 +00:00
|
|
|
import { withNavigationHydration } from '@woocommerce/data';
|
2020-10-13 01:40:53 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Internal dependencies
|
|
|
|
*/
|
|
|
|
import './stylesheets/index.scss';
|
|
|
|
import Container from './components/container';
|
|
|
|
|
|
|
|
const Navigation = () => (
|
|
|
|
<SlotFillProvider>
|
|
|
|
<Container />
|
|
|
|
<PluginArea />
|
|
|
|
</SlotFillProvider>
|
|
|
|
);
|
|
|
|
|
2020-10-21 17:02:45 +00:00
|
|
|
const HydratedNavigation = withNavigationHydration( window.wcNavigation )(
|
|
|
|
Navigation
|
|
|
|
);
|
|
|
|
|
|
|
|
export default HydratedNavigation;
|