This commit is contained in:
Martin McKeaveney 2020-07-16 15:19:46 +01:00
parent 5a24638e95
commit 4ca58ded5b
3 changed files with 4 additions and 4 deletions

View File

@ -13,12 +13,12 @@ function captureException(err) {
}
function captureEvent(event) {
if (process.env.NODE_ENV !== "production") return;
if (process.env.NODE_ENV !== "production") return
posthog.capture(event)
}
export default {
activate,
captureException,
captureEvent
captureEvent,
}