Skip to content

Commit

Permalink
fix: do not track empty strings in playground token input (#5159)
Browse files Browse the repository at this point in the history
do not track empty strings in playground token input

Signed-off-by: andreas-unleash <andreas@getunleash.ai>
  • Loading branch information
andreas-unleash committed Oct 26, 2023
1 parent 87fd924 commit 05f4c22
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -184,7 +184,7 @@ export const AdvancedPlayground: VFC<{

setHasFormBeenSubmitted(true);

if (token) {
if (token && token !== '') {
trackEvent('playground_token_input_used');
}

Expand Down

0 comments on commit 05f4c22

Please sign in to comment.