From 9162aa522b5eeef2928e561142ae94b67822cac4 Mon Sep 17 00:00:00 2001 From: mike12345567 Date: Wed, 16 Dec 2020 09:43:08 +0000 Subject: [PATCH] Linting. --- packages/builder/src/builderStore/store/hosting.js | 5 ++++- .../builder/src/components/deploy/DeploymentHistory.svelte | 4 +--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/packages/builder/src/builderStore/store/hosting.js b/packages/builder/src/builderStore/store/hosting.js index 722efb6dbd..f626a738ae 100644 --- a/packages/builder/src/builderStore/store/hosting.js +++ b/packages/builder/src/builderStore/store/hosting.js @@ -10,7 +10,10 @@ export const getHostingStore = () => { const store = writable({ ...INITIAL_BACKEND_UI_STATE }) store.actions = { fetch: async () => { - const responses = await Promise.all([api.get("/api/hosting/"), api.get("/api/hosting/urls")]) + const responses = await Promise.all([ + api.get("/api/hosting/"), + api.get("/api/hosting/urls"), + ]) const [info, urls] = await Promise.all(responses.map(resp => resp.json())) store.update(state => { state.hostingInfo = info diff --git a/packages/builder/src/components/deploy/DeploymentHistory.svelte b/packages/builder/src/components/deploy/DeploymentHistory.svelte index c52f9040d3..fe95b1369f 100644 --- a/packages/builder/src/components/deploy/DeploymentHistory.svelte +++ b/packages/builder/src/components/deploy/DeploymentHistory.svelte @@ -96,9 +96,7 @@

Deployment History

{#if deployments.some(deployment => deployment.status === DeploymentStatus.SUCCESS)} - - View Your Deployed App → - + View Your Deployed App → {/if}