Update page.mdx (#10847)

Updated the if-else example condition for when input.is_active is false.
This commit is contained in:
Dalton Ponder
2025-01-07 01:25:44 -06:00
committed by GitHub
parent 4c0546a8e9
commit 333ed538f5

View File

@@ -109,7 +109,7 @@ const workflow = createWorkflow(
const notIsActiveResult = when(
input,
(input) => {
return input.is_active
return !input.is_active
}
).then(() => {
return notIsActiveStep()