Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
import config from "./config";
import mixpanel from "mixpanel-browser";
import MixpanelProvider from "react-mixpanel";
import { StripeProvider } from "react-stripe-elements";
import "primer-product/build/build.css";
import "primer-markdown/build/build.css";
import "rc-tooltip/assets/bootstrap.css";
import "./index.css";
mixpanel.init(config.mixpanelAnalyticsKey);
if (config.mixpanelAnalyticsKey === "DUMMY_MIXPANEL_TOKEN") {
// Disable Mixpanel event tracking if dummy token is provided
mixpanel.disable();
}
ReactDOM.render(
,
document.getElementById("root"),
);
unregister();