1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-12-22 19:07:54 +01:00

fix: do not track empty strings in playground token input (#5159)

do not track empty strings in playground token input

Signed-off-by: andreas-unleash <andreas@getunleash.ai>
This commit is contained in:
andreas-unleash 2023-10-26 14:45:29 +03:00 committed by GitHub
parent 87fd924be3
commit 05f4c22f7c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -184,7 +184,7 @@ export const AdvancedPlayground: VFC<{
setHasFormBeenSubmitted(true); setHasFormBeenSubmitted(true);
if (token) { if (token && token !== '') {
trackEvent('playground_token_input_used'); trackEvent('playground_token_input_used');
} }