Skip to content

Commit

Permalink
fix: routing double match
Browse files Browse the repository at this point in the history
  • Loading branch information
KevinBLT committed Mar 9, 2024
1 parent f2eb1e5 commit a2becfb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/@hec.js/ui/lib/src/routing.js
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ export const updateRouting = () => {

route.update(!hasMatch && isMatch);

if (isMatch) {
if (!hasMatch && isMatch) {
hasMatch = true;

if (route.group.length) {
Expand Down

0 comments on commit a2becfb

Please sign in to comment.