Update page.mdx (#10847)

Updated the if-else example condition for when input.is_active is false.
This commit is contained in:
Dalton Ponder authored and GitHub committed 2025-01-07 07:25:44 +00:00
1 parent 4c0546a8e9
commit 333ed538f5
1 file changed
+1 -1
@@ -109,7 +109,7 @@ const workflow = createWorkflow(
const notIsActiveResult = when(
input,
(input) => {
return input.is_active
return !input.is_active
}
).then(() => {
return notIsActiveStep()