From 79811964825a095a6b07b40287c0e68ba09f4ee6 Mon Sep 17 00:00:00 2001 From: Austin Mroz Date: Wed, 26 Nov 2025 10:08:01 -0800 Subject: [PATCH] Fix incorrect operator precedence --- src/stores/subgraphNavigationStore.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/stores/subgraphNavigationStore.ts b/src/stores/subgraphNavigationStore.ts index 78928e261..879ee03f1 100644 --- a/src/stores/subgraphNavigationStore.ts +++ b/src/stores/subgraphNavigationStore.ts @@ -207,7 +207,7 @@ export const useSubgraphNavigationStore = defineStore( function updateHash() { if (blockHashUpdate) return if (!routeHash.value) { - router.replace('#' + window.location.hash.slice(1) || app.graph.id) + router.replace('#' + (window.location.hash.slice(1) || app.graph.id)) } else if (initialLoad) { initialLoad = false navigateToHash(routeHash.value)