analytics - missing await, causing event not to be logged

This commit is contained in:
Michael Shanks 2020-10-12 21:35:10 +01:00
parent 381c43f1e3
commit 2f5ee277f3
1 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@ export const automationStore = getAutomationStore()
export const initialise = async () => {
try {
analytics.activate()
await analytics.activate()
analytics.captureEvent("Builder Started")
} catch (err) {
console.log(err)