Skip to content

Commit

Permalink
fix: socket position of for-each block
Browse files Browse the repository at this point in the history
  • Loading branch information
KermanX committed Nov 30, 2023
1 parent f4996ca commit 521e17f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/runtime/src/components/forEach.r.ts
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
import { Content, Context, OutputComponent } from "refina";
import QuasiRuntime from "../plugin";
import { component, content, input, output } from "../types";
import { Direction, component, content, input, output } from "../types";

export default component({
displayName: () => "For each",
model: "ForEachModel",
contents: {
inner: content("inner"),
inner: content("inner", "as-socket", Direction.BOTTOM),
},
inputs: {
iterable: input("iterable"),
},
outputs: {
current: output("current"),
current: output("current", "as-socket", Direction.RIGHT),
},
});

Expand Down

0 comments on commit 521e17f

Please sign in to comment.