diff --git a/packages/bbui/src/Actions/position_dropdown.js b/packages/bbui/src/Actions/position_dropdown.js index 01d0ec4553..9bf5a40a67 100644 --- a/packages/bbui/src/Actions/position_dropdown.js +++ b/packages/bbui/src/Actions/position_dropdown.js @@ -48,11 +48,11 @@ export default function positionDropdown(element, { anchor, align }) { element.style.left = `${calcLeftPosition(dimensions).toFixed(0)}px` const resizeObserver = new ResizeObserver(entries => { - for (let entry of entries) { + entries.forEach(() => { dimensions = getDimensions() element.style[positionSide] = `${dimensions[positionSide]}px` element.style.left = `${calcLeftPosition(dimensions).toFixed(0)}px` - } + }) }) resizeObserver.observe(anchor) diff --git a/packages/bbui/src/Stores/notifications.js b/packages/bbui/src/Stores/notifications.js index 481fb812e4..520e5c97b2 100644 --- a/packages/bbui/src/Stores/notifications.js +++ b/packages/bbui/src/Stores/notifications.js @@ -11,8 +11,6 @@ const createNotificationStore = () => { }) } - let timers = [] - const notifications = derived(_notifications, ($_notifications, set) => { set($_notifications) if ($_notifications.length > 0) { diff --git a/packages/builder/src/pages/builder/[application]/design/_layout.svelte b/packages/builder/src/pages/builder/[application]/design/_layout.svelte index 6563895b08..d41fc0ee34 100644 --- a/packages/builder/src/pages/builder/[application]/design/_layout.svelte +++ b/packages/builder/src/pages/builder/[application]/design/_layout.svelte @@ -1,2 +1,2 @@ - \ No newline at end of file + diff --git a/packages/builder/vite.config.js b/packages/builder/vite.config.js index e5a708c919..e76491b54a 100644 --- a/packages/builder/vite.config.js +++ b/packages/builder/vite.config.js @@ -27,7 +27,7 @@ export default ({ mode }) => { }), ], optimizeDeps: { - include: ['ag-grid-community'], + include: ["ag-grid-community"], exclude: ["@roxi/routify"], }, resolve: {