Skip to content

Commit d9fd958

Browse files
committed
fix: console warnings
1 parent 16529e0 commit d9fd958

File tree

2 files changed

+3
-10
lines changed

2 files changed

+3
-10
lines changed

admin/src/components/Header/index.jsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ const HeaderComponent = () => {
1818
<Layouts.Header
1919
title={formatMessage({ id: 'config-sync.Header.Title' })}
2020
subtitle={formatMessage({ id: 'config-sync.Header.Description' })}
21-
as="h2"
2221
/>
2322
</Box>
2423
);

admin/src/index.js

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -30,17 +30,11 @@ export default {
3030
{
3131
intlLabel: {
3232
id: `${pluginId}.Settings.Tool.Title`,
33-
defaultMessage: 'Tools',
33+
defaultMessage: 'Interface',
3434
},
3535
id: 'config-sync-page',
36-
to: `/settings/${pluginId}`,
37-
Component: async () => {
38-
const component = await import(
39-
/* webpackChunkName: "config-sync-settings-page" */ './containers/App'
40-
);
41-
42-
return component;
43-
},
36+
to: `${pluginId}`,
37+
Component: () => import('./containers/App'),
4438
permissions: pluginPermissions['settings'],
4539
},
4640
],

0 commit comments

Comments
 (0)