mirror of
https://github.com/makeplane/plane
synced 2024-06-14 14:31:34 +00:00
event payload updated
This commit is contained in:
parent
dadb4415c7
commit
1ae0e1ae5f
@ -81,7 +81,7 @@ export const AuthUniqueCodeForm: React.FC<TAuthUniqueCodeForm> = (props) => {
|
||||
setIsSubmitting(true);
|
||||
captureEvent(CODE_VERIFIED, {
|
||||
state: "SUCCESS",
|
||||
first_time: isExistingEmail,
|
||||
first_time: !isExistingEmail,
|
||||
});
|
||||
}}
|
||||
onError={() => setIsSubmitting(false)}
|
||||
|
@ -66,7 +66,7 @@ export const CreateWorkspace: React.FC<Props> = (props) => {
|
||||
captureWorkspaceEvent({
|
||||
eventName: WORKSPACE_CREATED,
|
||||
payload: {
|
||||
workspace_id: res.id,
|
||||
...res,
|
||||
state: "SUCCESS",
|
||||
first_time: true,
|
||||
element: E_ONBOARDING,
|
||||
|
@ -13,7 +13,7 @@ import { PasswordStrengthMeter } from "@/components/account";
|
||||
import { UserImageUploadModal } from "@/components/core";
|
||||
import { OnboardingHeader, SwitchAccountDropdown } from "@/components/onboarding";
|
||||
// constants
|
||||
import { E_ONBOARDING, USER_DETAILS, E_ONBOARDING_STEP_1,E_ONBOARDING_STEP_2 } from "@/constants/event-tracker";
|
||||
import { USER_DETAILS, E_ONBOARDING_STEP_1, E_ONBOARDING_STEP_2 } from "@/constants/event-tracker";
|
||||
// helpers
|
||||
import { getPasswordStrength } from "@/helpers/password.helper";
|
||||
// hooks
|
||||
|
Loading…
Reference in New Issue
Block a user