Skip to content

Commit daff93b

Browse files
committed
fix switch
1 parent 9074d39 commit daff93b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

packages/js-api/src/core/frigade.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -742,8 +742,7 @@ export class Frigade extends Fetchable {
742742
}
743743
}
744744
break
745-
746-
default:
745+
case 'flow.any':
747746
if (JSON.stringify(newState) !== JSON.stringify(previousState ?? {})) {
748747
handlers.forEach((handler) => handler(event, flow, lastFlow))
749748
}

0 commit comments

Comments
 (0)