Skip to content

Commit

Permalink
fix: tracking of draft flow
Browse files Browse the repository at this point in the history
  • Loading branch information
VojtechVidra committed Dec 21, 2023
1 parent 16496a5 commit c50a7a6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/flow-state.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ export class FlowState implements InterfaceFlowState {
}

track(props: Pick<TrackingEvent, "type">): this {
if (this.flow?.draft) return this;

void (async () => {
if (!this.flow) return;
this.flowsContext.track({
Expand Down

0 comments on commit c50a7a6

Please # to comment.