From dbfd9ff877e036917cb5c7f70654533991225daa Mon Sep 17 00:00:00 2001 From: Martin McKeaveney Date: Thu, 30 Sep 2021 16:52:21 +0100 Subject: [PATCH] fixing import --- packages/client/src/stores/builder.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/client/src/stores/builder.js b/packages/client/src/stores/builder.js index af3f716c47..2740a4551c 100644 --- a/packages/client/src/stores/builder.js +++ b/packages/client/src/stores/builder.js @@ -1,7 +1,7 @@ import { writable, derived } from "svelte/store" import Manifest from "manifest.json" import { findComponentById, findComponentPathById } from "../utils/components" -import analytics from "../api/analytics" +import { pingEndUser } from "../api" const dispatchEvent = (type, data = {}) => { window.dispatchEvent( @@ -66,7 +66,7 @@ const createBuilderStore = () => { dispatchEvent("preview-loaded") }, pingEndUser: () => { - analytics.pingEndUser() + pingEndUser() }, setSelectedPath: path => { writableStore.update(state => {