Skip to content

Commit

Permalink
Fix interaction count after bfcache restore (#505)
Browse files Browse the repository at this point in the history
  • Loading branch information
BenoitZugmeyer committed Jul 17, 2024
1 parent 9bce28a commit 2dad97b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/interactions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ const getInteractionCountForNavigation = () => {
};

export const resetInteractions = () => {
prevInteractionCount = 0;
prevInteractionCount = getInteractionCount();
longestInteractionList.length = 0;
longestInteractionMap.clear();
};
Expand Down

0 comments on commit 2dad97b

Please sign in to comment.