We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 86439e3 commit 4af4f45Copy full SHA for 4af4f45
admin/src/containers/ConfigPage/index.js
@@ -8,8 +8,8 @@ import ActionButtons from '../../components/ActionButtons';
8
9
const ConfigPage = () => {
10
const dispatch = useDispatch();
11
- const isLoading = useSelector((state) => state.getIn(['config', 'isLoading']), Map());
12
- const configDiff = useSelector((state) => state.getIn(['config', 'configDiff']), Map());
+ const isLoading = useSelector((state) => state.getIn(['config', 'isLoading'], Map({})));
+ const configDiff = useSelector((state) => state.getIn(['config', 'configDiff'], Map({})));
13
14
useEffect(() => {
15
dispatch(getAllConfigDiff());
0 commit comments