mirror of
https://github.com/outbackdingo/firezone.git
synced 2026-01-27 10:18:54 +00:00
fix(website): Use dummy when mixpanel token is blank (#9209)
This fixes an issue on dev if the `NEXT_PUBLIC_MIXPANEL_TOKEN` env var is not available.
This commit is contained in:
@@ -8,7 +8,7 @@ import { HubSpotSubmittedFormData } from "./types";
|
||||
function _Mixpanel() {
|
||||
const pathname = usePathname();
|
||||
const searchParams = useSearchParams();
|
||||
const mpToken = process.env.NEXT_PUBLIC_MIXPANEL_TOKEN || "";
|
||||
const mpToken = process.env.NEXT_PUBLIC_MIXPANEL_TOKEN || "dummy";
|
||||
const host = "https://t.firez.one";
|
||||
|
||||
useEffect(() => {
|
||||
|
||||
Reference in New Issue
Block a user