diff --git a/.changeset/tough-onions-lay.md b/.changeset/tough-onions-lay.md new file mode 100644 index 0000000..5e028e1 --- /dev/null +++ b/.changeset/tough-onions-lay.md @@ -0,0 +1,5 @@ +--- +"@inngest/workflow-kit": patch +--- + +Fix sidebar behavior when toggling between nodes with inputs diff --git a/packages/workflow/src/ui/sidebar/Sidebar.tsx b/packages/workflow/src/ui/sidebar/Sidebar.tsx index c3bfd07..fbd17e7 100644 --- a/packages/workflow/src/ui/sidebar/Sidebar.tsx +++ b/packages/workflow/src/ui/sidebar/Sidebar.tsx @@ -67,7 +67,9 @@ const useSidebarContent = () => { return ( <> - + {/* Include a key attribute so that the inputs in the action + update as the selected node changes. */} + )