We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9be41ae commit 05bb4d5Copy full SHA for 05bb4d5
1 file changed
src/AppHistory.tsx
@@ -15,7 +15,7 @@ function useAppHistory(): object{
15
stack.current.splice(index+1);
16
stack.current.push(location);
17
idx.current = history.state.idx;
18
- setIndex(index+1);
+ setIndex(index+1); // eslint-disable-line
19
}
20
if(navigationType===NavigationType.Pop){
21
if(idx.current>history.state.idx){
@@ -30,7 +30,7 @@ function useAppHistory(): object{
30
stack.current[index] = location;
31
32
33
- },[location,navigationType]);
+ },[location,navigationType]); // eslint-disable-line
34
35
function getPrevious(): object[]{
36
return stack.current.slice(0,index);
0 commit comments