diff --git a/packages/builder/src/components/deploy/DeployModal.svelte b/packages/builder/src/components/deploy/DeployModal.svelte
index 5fffa4cd55..48a958dd4b 100644
--- a/packages/builder/src/components/deploy/DeployModal.svelte
+++ b/packages/builder/src/components/deploy/DeployModal.svelte
@@ -14,7 +14,6 @@
const POLL_INTERVAL = 1000
-
let loading = false
let feedbackModal
let deployments = []
@@ -63,7 +62,10 @@
// Required to check any updated deployment statuses between polls
function checkIncomingDeploymentStatus(current, incoming) {
for (let incomingDeployment of incoming) {
- if (incomingDeployment.status === DeploymentStatus.FAILURE || incomingDeployment.status === DeploymentStatus.SUCCESS) {
+ if (
+ incomingDeployment.status === DeploymentStatus.FAILURE ||
+ incomingDeployment.status === DeploymentStatus.SUCCESS
+ ) {
const currentDeployment = current.find(
deployment => deployment._id === incomingDeployment._id
)
@@ -76,14 +78,17 @@
if (incomingDeployment.status === DeploymentStatus.FAILURE) {
notifications.error(incomingDeployment.err)
} else {
- notifications.send("Published to Production.", "success", "CheckmarkCircle")
+ notifications.send(
+ "Published to Production.",
+ "success",
+ "CheckmarkCircle"
+ )
}
}
- }
+ }
}
}
-
onMount(() => {
fetchDeployments()
poll = setInterval(fetchDeployments, POLL_INTERVAL)
@@ -92,19 +97,16 @@
onDestroy(() => clearInterval(poll))
-
-
+
-
- The changes you have made will be published to the production version of the application.
-
+
+ The changes you have made will be published to the production version of
+ the application.
+
diff --git a/packages/builder/src/components/deploy/RevertModal.svelte b/packages/builder/src/components/deploy/RevertModal.svelte
index c35fbd36c2..d10aa95acf 100644
--- a/packages/builder/src/components/deploy/RevertModal.svelte
+++ b/packages/builder/src/components/deploy/RevertModal.svelte
@@ -1,6 +1,12 @@
-
-
- The changes you have made will be deleted and the application reverted back to its production state.
-
+
+ The changes you have made will be deleted and the application reverted
+ back to its production state.
+
diff --git a/packages/builder/src/pages/builder/app/[application]/_layout.svelte b/packages/builder/src/pages/builder/app/[application]/_layout.svelte
index ba4181c6cc..53d6e17130 100644
--- a/packages/builder/src/pages/builder/app/[application]/_layout.svelte
+++ b/packages/builder/src/pages/builder/app/[application]/_layout.svelte
@@ -1,7 +1,16 @@