Skip to content

Commit

Permalink
fixed wrong console message for form goals
Browse files Browse the repository at this point in the history
fixed wrong console message for form goals
7413335143b98f7cda607c874a762a18e01fb419
  • Loading branch information
Stanislavsky34200 committed Mar 21, 2024
1 parent ee94312 commit 352e562
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions src/providers/submitTracking/submitTracking.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,16 +50,12 @@ export const log = (
ctx: Window,
counterOptions: CounterOptions,
message: string,
variables?: Record<string, string>,
) =>
shouldLogCheck(ctx, counterOptions).then(
pipe(
bindArgs(
[
getLoggerFn(ctx, counterOptions, message, {
['id']: counterOptions.id,
}),
noop,
],
[getLoggerFn(ctx, counterOptions, message, variables), noop],
ternary,
),
call,
Expand Down

0 comments on commit 352e562

Please sign in to comment.