Update packages/react/src/additional-components/EdgeToolbar/EdgeToolbar.tsx

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Alessandro Cheli
2025-10-13 16:17:03 +02:00
committed by GitHub
parent 869e5a32d5
commit 883667c132

View File

@@ -70,7 +70,7 @@ export function EdgeToolbar({
return null;
}
const zIndex = edge.zIndex ?? 0 + 1;
const zIndex = (edge.zIndex ?? 0) + 1;
const { zoom } = useStore(storeSelector, shallow);