From 4940d71145fc9da567928f2b0ab91aab7b6ff058 Mon Sep 17 00:00:00 2001 From: Andrew Kingston Date: Thu, 30 Jun 2022 19:31:06 +0100 Subject: [PATCH] Be more explicit with imports to avoid circular dependencies --- packages/client/src/api/api.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/client/src/api/api.js b/packages/client/src/api/api.js index c3cc679220..1c1ed3c220 100644 --- a/packages/client/src/api/api.js +++ b/packages/client/src/api/api.js @@ -1,5 +1,7 @@ import { createAPIClient } from "@budibase/frontend-core" -import { notificationStore, authStore, devToolsStore } from "../stores" +import { notificationStore } from "../stores/notification.js" +import { authStore } from "../stores/auth.js" +import { devToolsStore } from "../stores/devTools.js" import { get } from "svelte/store" export const API = createAPIClient({