Skip to content

Commit 2a2755f

Browse files
committed
refactor: apply naming conventions to variables
1 parent a17c944 commit 2a2755f

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

packages/volto/src/config/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ import { installDefaultBlocks } from './Blocks';
2424

2525
import {
2626
getSiteAsyncPropExtender,
27-
SystemInfoAsyncPropExtender,
27+
getSystemInfoAsyncPropExtender,
2828
getControlpanelAsyncPropExtender,
2929
} from '@plone/volto/helpers/Site';
3030
import { registerValidators } from './validation';
@@ -130,7 +130,7 @@ let config = {
130130
initialReducersBlacklist: [], // reducers in this list won't be hydrated in windows.__data
131131
asyncPropsExtenders: [
132132
getSiteAsyncPropExtender,
133-
SystemInfoAsyncPropExtender,
133+
getSystemInfoAsyncPropExtender,
134134
getControlpanelAsyncPropExtender,
135135
], // per route asyncConnect customizers
136136
contentIcons: contentIcons,

packages/volto/src/helpers/Site/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ const getControlpanelAsyncPropExtender = {
4343
},
4444
};
4545

46-
const SystemInfoAsyncPropExtender = {
46+
const getSystemInfoAsyncPropExtender = {
4747
path: `${prefixPath}/controlpanel`,
4848
extend: (dispatchActions) => {
4949
if (
@@ -63,6 +63,6 @@ const SystemInfoAsyncPropExtender = {
6363

6464
export {
6565
getSiteAsyncPropExtender,
66-
SystemInfoAsyncPropExtender,
66+
getSystemInfoAsyncPropExtender,
6767
getControlpanelAsyncPropExtender,
6868
};

0 commit comments

Comments
 (0)