From bb5311946074a75db33ee718e2b5f27061431cb6 Mon Sep 17 00:00:00 2001 From: Kevin Bulteel Date: Sat, 9 Mar 2024 15:47:05 +0100 Subject: [PATCH] fix: wrong boolean :) --- packages/@hec.js/ui/lib/src/routing.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/@hec.js/ui/lib/src/routing.js b/packages/@hec.js/ui/lib/src/routing.js index 23cec86..ff2b82a 100644 --- a/packages/@hec.js/ui/lib/src/routing.js +++ b/packages/@hec.js/ui/lib/src/routing.js @@ -62,7 +62,7 @@ export function addRoute(route) { targetRoutes.push(route); targetRoutes.sort(routeCompare); - if (state.updateQueued) { + if (!state.updateQueued) { state.updateQueued = true; queueMicrotask(updateRouting);