Skip to content
This repository was archived by the owner on Jun 4, 2024. It is now read-only.

Commit 09e7a80

Browse files
committed
📛 rootReducer -> reloaderReducer
1 parent 97d884f commit 09e7a80

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/reducers/reducer.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ function recordHistory(reducer) {
9494
};
9595
}
9696

97-
function rootReducer(reducer) {
97+
function reloaderReducer(reducer) {
9898
return function(state, action) {
9999
if (action.type === 'RELOAD') {
100100
const {history} = state;
@@ -105,4 +105,4 @@ function rootReducer(reducer) {
105105
};
106106
}
107107

108-
export default rootReducer(recordHistory(reducer));
108+
export default reloaderReducer(recordHistory(reducer));

0 commit comments

Comments
 (0)