@@ -13,6 +13,7 @@ import {
13
13
} from '@wordpress/components' ;
14
14
import { privateApis as routerPrivateApis } from '@wordpress/router' ;
15
15
import { useViewportMatch } from '@wordpress/compose' ;
16
+ import { __ } from '@wordpress/i18n' ;
16
17
17
18
/**
18
19
* Internal dependencies
@@ -32,7 +33,8 @@ import SidebarNavigationScreenTemplatesBrowse from '../sidebar-navigation-screen
32
33
import SaveHub from '../save-hub' ;
33
34
import { unlock } from '../../lock-unlock' ;
34
35
import SidebarNavigationScreenPages from '../sidebar-navigation-screen-pages' ;
35
- import SidebarNavigationScreenPagesDataViews from '../sidebar-navigation-screen-pages-dataviews' ;
36
+ import SidebarNavigationScreen from '../sidebar-navigation-screen' ;
37
+ import DataViewsSidebarContent from '../sidebar-dataviews' ;
36
38
import SidebarNavigationScreenPage from '../sidebar-navigation-screen-page' ;
37
39
38
40
const { useLocation } = unlock ( routerPrivateApis ) ;
@@ -71,7 +73,10 @@ function SidebarScreens() {
71
73
< SidebarNavigationScreenPages />
72
74
</ SidebarScreenWrapper >
73
75
< SidebarScreenWrapper path = "/pages" >
74
- < SidebarNavigationScreenPagesDataViews />
76
+ < SidebarNavigationScreen
77
+ title = { __ ( 'Pages' ) }
78
+ content = { < DataViewsSidebarContent /> }
79
+ />
75
80
</ SidebarScreenWrapper >
76
81
< SidebarScreenWrapper path = "/page/:postId" >
77
82
< SidebarNavigationScreenPage />
0 commit comments