Skip to content

Image Pipeline Playground

feat(frontend/hooks): wire port_id into preview events

Mohammad Rajaei96f8444f3596
diff --git a/frontend/src/hooks/useExecutionSocket.ts b/frontend/src/hooks/useExecutionSocket.ts
index ea66b81..28c8b0c 100644
--- a/frontend/src/hooks/useExecutionSocket.ts
+++ b/frontend/src/hooks/useExecutionSocket.ts
@@ -50,6 +50,7 @@ export function useExecutionSocket() {
nodeId: event.node_id,
sampleIndex: event.sample_index ?? 0,
imageB64: event.image_b64,
+ portId: event.port_id,
cacheHit: event.cache_hit,
})
}