mirror of
https://github.com/outbackdingo/firezone.git
synced 2026-01-27 10:18:54 +00:00
@@ -6,7 +6,11 @@ export default function InstallBlock() {
|
||||
return (
|
||||
<BrowserOnly fallback={<div>Loading...</div>}>
|
||||
{() => {
|
||||
const distinct_id = window.posthog.get_distinct_id()
|
||||
if (window.posthog && typeof window.posthog.get_distinct_id === "function") {
|
||||
const distinct_id = window.posthog.get_distinct_id()
|
||||
} else {
|
||||
const distinct_id = "posthog-blocked"
|
||||
}
|
||||
|
||||
return (
|
||||
<CodeBlock language="bash">
|
||||
|
||||
Reference in New Issue
Block a user