diff --git a/packages/builder/src/components/userInterface/AppPreview/CurrentItemPreview.svelte b/packages/builder/src/components/userInterface/AppPreview/CurrentItemPreview.svelte
index 464823a1c0..0d470e069a 100644
--- a/packages/builder/src/components/userInterface/AppPreview/CurrentItemPreview.svelte
+++ b/packages/builder/src/components/userInterface/AppPreview/CurrentItemPreview.svelte
@@ -25,9 +25,7 @@
screen = screenPlaceholder
} else {
screen = $currentAsset
- layout = $store.layouts.find(
- layout => layout._id === screen?.layoutId
- )
+ layout = $store.layouts.find(layout => layout._id === screen?.layoutId)
}
}
$: selectedComponentId = $store.selectedComponentId ?? ""
diff --git a/packages/builder/src/components/userInterface/ComponentSelectionList.svelte b/packages/builder/src/components/userInterface/ComponentSelectionList.svelte
index 0631c1b8d7..260eff72c6 100644
--- a/packages/builder/src/components/userInterface/ComponentSelectionList.svelte
+++ b/packages/builder/src/components/userInterface/ComponentSelectionList.svelte
@@ -39,13 +39,9 @@
class="category"
on:click={() => onCategoryChosen(category, idx)}
class:active={idx === selectedIndex}>
- {#if category.icon}
-
- {/if}
+ {#if category.icon}{/if}
{category.name}
- {#if category.isCategory}
-
- {/if}
+ {#if category.isCategory}{/if}
{/each}
diff --git a/packages/builder/src/components/userInterface/SettingsView.svelte b/packages/builder/src/components/userInterface/SettingsView.svelte
index 8a2f7a826d..dd4644882c 100644
--- a/packages/builder/src/components/userInterface/SettingsView.svelte
+++ b/packages/builder/src/components/userInterface/SettingsView.svelte
@@ -32,9 +32,7 @@
{ key: "layoutId", label: "Layout", control: LayoutSelect },
]
- const layoutDefinition = [
- { key: "title", label: "Title", control: Input }
- ]
+ const layoutDefinition = [{ key: "title", label: "Title", control: Input }]
const canRenderControl = (key, dependsOn) => {
let test = !isEmpty(componentInstance[dependsOn])
diff --git a/packages/builder/src/pages/[application]/design/[assetType]/index.svelte b/packages/builder/src/pages/[application]/design/[assetType]/index.svelte
index 3d2314a0f8..85cafaadd0 100644
--- a/packages/builder/src/pages/[application]/design/[assetType]/index.svelte
+++ b/packages/builder/src/pages/[application]/design/[assetType]/index.svelte
@@ -6,12 +6,12 @@
// Go to first layout
if ($params.assetType === FrontendTypes.LAYOUT) {
$goto(`../${$store.layouts[0]?._id}`)
- }
+ }
// Go to first screen
if ($params.assetType === FrontendTypes.SCREEN) {
$goto(`../${$allScreens[0]?._id}`)
- }
+ }
-
\ No newline at end of file
+
diff --git a/packages/server/src/constants/layouts.js b/packages/server/src/constants/layouts.js
index b84e3bb2c6..0418586e30 100644
--- a/packages/server/src/constants/layouts.js
+++ b/packages/server/src/constants/layouts.js
@@ -243,5 +243,5 @@ const BASE_LAYOUTS = [
module.exports = {
BASE_LAYOUTS,
BASE_LAYOUT_PROP_IDS,
- EMPTY_LAYOUT
+ EMPTY_LAYOUT,
}
diff --git a/packages/server/src/constants/screens.js b/packages/server/src/constants/screens.js
index 4f68f9c5e0..9e80420607 100644
--- a/packages/server/src/constants/screens.js
+++ b/packages/server/src/constants/screens.js
@@ -1,12 +1,11 @@
const { BUILTIN_ROLE_IDS } = require("../utilities/security/roles")
const { BASE_LAYOUT_PROP_IDS } = require("./layouts")
-exports.createHomeScreen = app => ({
+exports.createHomeScreen = () => ({
description: "",
url: "",
layoutId: BASE_LAYOUT_PROP_IDS.PRIVATE,
props: {
- _instanceName: "HomeScreenContainer",
_id: "d834fea2-1b3e-4320-ab34-f9009f5ecc59",
_component: "@budibase/standard-components/container",
_styles: {
diff --git a/packages/server/src/integrations/Integration.js b/packages/server/src/integrations/Integration.js
deleted file mode 100644
index b2da8ada22..0000000000
--- a/packages/server/src/integrations/Integration.js
+++ /dev/null
@@ -1,3 +0,0 @@
-class Integration {
- constructor() {}
-}
diff --git a/packages/standard-components/rollup.config.js b/packages/standard-components/rollup.config.js
index 19c31da6b8..b28cd390d0 100644
--- a/packages/standard-components/rollup.config.js
+++ b/packages/standard-components/rollup.config.js
@@ -26,9 +26,9 @@ export default {
}),
resolve({
browser: true,
- skip: externals
+ skip: externals,
}),
commonjs(),
- json()
+ json(),
],
}