Update all non-major dependencies (#12468)
* Update all non-major dependencies * Update posthog user state access Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> --------- Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
parent
3ca79968d3
commit
dafd9c23b8
4 changed files with 16 additions and 16 deletions
|
@ -313,7 +313,7 @@ export class PosthogAnalytics {
|
|||
// No point identifying again
|
||||
return;
|
||||
}
|
||||
if (this.posthog.persistence?.get_user_state() === "identified") {
|
||||
if (this.posthog.persistence?.get_property("$user_state") === "identified") {
|
||||
// Analytics ID has changed, reset as Posthog will refuse to merge in this case
|
||||
this.posthog.reset();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue