lint
This commit is contained in:
parent
380781de8b
commit
ab13ecad1f
|
@ -1,7 +1,7 @@
|
|||
import { getStore } from "./store"
|
||||
import { getBackendUiStore } from "./store/backend"
|
||||
import { getWorkflowStore } from "./store/workflow/"
|
||||
import posthog from "posthog-js";
|
||||
import posthog from "posthog-js"
|
||||
|
||||
export const store = getStore()
|
||||
export const backendUiStore = getBackendUiStore()
|
||||
|
@ -10,7 +10,9 @@ export const workflowStore = getWorkflowStore()
|
|||
export const initialise = async () => {
|
||||
try {
|
||||
if (process.env.NODE_ENV === "production") {
|
||||
posthog.init(process.env.POSTHOG_TOKEN, { api_host: process.env.POSTHOG_URL });
|
||||
posthog.init(process.env.POSTHOG_TOKEN, {
|
||||
api_host: process.env.POSTHOG_URL,
|
||||
})
|
||||
}
|
||||
} catch (err) {
|
||||
console.log(err)
|
||||
|
|
Loading…
Reference in New Issue