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)