From f178b862666d09a829f30fb078182e35254ff822 Mon Sep 17 00:00:00 2001 From: Dean Date: Tue, 20 Jun 2023 15:02:53 +0100 Subject: [PATCH] Linting --- .../builder/src/components/deploy/AppActions.svelte | 8 +++----- .../builder/src/components/deploy/DeleteModal.svelte | 2 +- .../builder/src/components/deploy/RevertModal.svelte | 9 +-------- .../src/pages/builder/app/[application]/_layout.svelte | 3 --- .../builder/app/[application]/settings/_layout.svelte | 10 ++-------- .../builder/app/[application]/settings/export.svelte | 3 --- .../builder/app/[application]/settings/index.svelte | 9 +-------- 7 files changed, 8 insertions(+), 36 deletions(-) diff --git a/packages/builder/src/components/deploy/AppActions.svelte b/packages/builder/src/components/deploy/AppActions.svelte index def44646dd..1de5a4a798 100644 --- a/packages/builder/src/components/deploy/AppActions.svelte +++ b/packages/builder/src/components/deploy/AppActions.svelte @@ -3,7 +3,6 @@ notifications, Popover, Layout, - Heading, Body, Button, ActionButton, @@ -22,7 +21,6 @@ import { checkIncomingDeploymentStatus } from "components/deploy/utils" import { API } from "api" import { onMount } from "svelte" - import DeployModal from "components/deploy/DeployModal.svelte" import { apps } from "stores/portal" import { store, @@ -31,7 +29,7 @@ } from "builderStore" import TourWrap from "components/portal/onboarding/TourWrap.svelte" import { TOUR_STEP_KEYS } from "components/portal/onboarding/tours.js" - import { url, goto } from "@roxi/routify" + import { goto } from "@roxi/routify" import { isEqual, cloneDeep } from "lodash" export let application @@ -79,7 +77,7 @@ let appMetaUpdated = false let appMetaInitialised = false - const unsub = store.subscribe(state => { + store.subscribe(state => { let { name, url: appUrl, navigation, theme, customTheme, icon } = state const update = { name, @@ -218,7 +216,7 @@ try { publishing = true - let published = await API.publishAppChanges($store.appId) + await API.publishAppChanges($store.appId) notifications.send("App published", { type: "success", diff --git a/packages/builder/src/components/deploy/DeleteModal.svelte b/packages/builder/src/components/deploy/DeleteModal.svelte index 9b22fe5b94..d2c8308971 100644 --- a/packages/builder/src/components/deploy/DeleteModal.svelte +++ b/packages/builder/src/components/deploy/DeleteModal.svelte @@ -1,5 +1,5 @@