Skip to content

Commit 33af52b

Browse files
Update index.js
1 parent 7b32ae0 commit 33af52b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -516,7 +516,7 @@ const useHistoryStateReducer = (state, action) => {
516516
};
517517
} else if (action.type === "CLEAR") {
518518
return {
519-
...initialState,
519+
...initialUseHistoryStateState,
520520
present: action.initialPresent,
521521
};
522522
} else {

0 commit comments

Comments
 (0)