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