Linting.
This commit is contained in:
parent
88c0a635a0
commit
f32b4f94e7
2 changed files with 7 additions and 2 deletions
|
@ -1,6 +1,7 @@
|
||||||
import * as API from "../api"
|
import * as API from "../api"
|
||||||
import { writable } from "svelte/store"
|
import { writable } from "svelte/store"
|
||||||
import { initialise } from "./initialise"
|
import { initialise } from "./initialise"
|
||||||
|
import { routeStore } from "./routes"
|
||||||
|
|
||||||
const createAuthStore = () => {
|
const createAuthStore = () => {
|
||||||
const store = writable(null)
|
const store = writable(null)
|
||||||
|
@ -14,7 +15,6 @@ const createAuthStore = () => {
|
||||||
routeStore.actions.navigate("/")
|
routeStore.actions.navigate("/")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// Fetches the user object if someone is logged in and has reloaded the page
|
// Fetches the user object if someone is logged in and has reloaded the page
|
||||||
const fetchUser = async () => {
|
const fetchUser = async () => {
|
||||||
const user = await API.fetchSelf()
|
const user = await API.fetchSelf()
|
||||||
|
|
|
@ -1,5 +1,10 @@
|
||||||
import { get } from "svelte/store"
|
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 { saveRow, deleteRow, executeQuery, triggerAutomation } from "../api"
|
||||||
import { ActionTypes } from "../constants"
|
import { ActionTypes } from "../constants"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue