Skip to content

Commit 9ba3faf

Browse files
committed
Fixes #236
1 parent f2794aa commit 9ba3faf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -367,7 +367,7 @@ const useHistoryStateReducer = (state, action) => {
367367
};
368368
} else if (action.type === "CLEAR") {
369369
return {
370-
...initialState,
370+
...initialUseHistoryStateState,
371371
present: action.initialPresent,
372372
};
373373
} else {

0 commit comments

Comments
 (0)