Skip to content

Commit

Permalink
fix: remove unnecessary condition
Browse files Browse the repository at this point in the history
  • Loading branch information
pmelab committed Feb 4, 2025
1 parent 11d5c27 commit 7784f9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/waku/src/router/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,7 @@ const InnerRouter = ({
});
};

if ('startViewTransition' in document && !skipRefetch) {
if ('startViewTransition' in document) {
document.startViewTransition(performChange);
} else {
performChange();
Expand Down

0 comments on commit 7784f9a

Please sign in to comment.