Skip to content

Commit

Permalink
refactor: remove unneeded if (#20132) (#20135)
Browse files Browse the repository at this point in the history
Co-authored-by: Teppo Kurki <[email protected]>
  • Loading branch information
vaadin-bot and tepi authored Oct 3, 2024
1 parent eecb93f commit 6a14dec
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions flow-server/src/main/java/com/vaadin/flow/component/UI.java
Original file line number Diff line number Diff line change
Expand Up @@ -2012,14 +2012,7 @@ private void handleNavigation(Location location,
} catch (Exception exception) {
handleExceptionNavigation(location, exception);
} finally {
if (getInternals().getSession().getService()
.getDeploymentConfiguration().isReactEnabled()
&& getInternals().getContinueNavigationAction() != null) {
getInternals().clearLastHandledNavigation();
} else {
getInternals().clearLastHandledNavigation();
}

getInternals().clearLastHandledNavigation();
}
}

Expand Down

0 comments on commit 6a14dec

Please sign in to comment.