From f32b4f94e7dd2304a2ea92929f27a3a25091ee90 Mon Sep 17 00:00:00 2001 From: Michael Drury Date: Sun, 25 Jul 2021 12:09:50 +0100 Subject: [PATCH] Linting. --- packages/client/src/store/auth.js | 2 +- packages/client/src/utils/buttonActions.js | 7 ++++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/packages/client/src/store/auth.js b/packages/client/src/store/auth.js index 5feb161b97..86e4500282 100644 --- a/packages/client/src/store/auth.js +++ b/packages/client/src/store/auth.js @@ -1,6 +1,7 @@ import * as API from "../api" import { writable } from "svelte/store" import { initialise } from "./initialise" +import { routeStore } from "./routes" const createAuthStore = () => { const store = writable(null) @@ -14,7 +15,6 @@ const createAuthStore = () => { routeStore.actions.navigate("/") } - // Fetches the user object if someone is logged in and has reloaded the page const fetchUser = async () => { const user = await API.fetchSelf() diff --git a/packages/client/src/utils/buttonActions.js b/packages/client/src/utils/buttonActions.js index 8c62f266e8..98ba9dc214 100644 --- a/packages/client/src/utils/buttonActions.js +++ b/packages/client/src/utils/buttonActions.js @@ -1,5 +1,10 @@ import { get } from "svelte/store" -import { routeStore, builderStore, confirmationStore, authStore } from "../store" +import { + routeStore, + builderStore, + confirmationStore, + authStore, +} from "../store" import { saveRow, deleteRow, executeQuery, triggerAutomation } from "../api" import { ActionTypes } from "../constants"