diff --git a/apps/desktop/src/renderer/routes/_authenticated/_dashboard/automations/page.tsx b/apps/desktop/src/renderer/routes/_authenticated/_dashboard/automations/page.tsx index c8fe15af692..23de359d892 100644 --- a/apps/desktop/src/renderer/routes/_authenticated/_dashboard/automations/page.tsx +++ b/apps/desktop/src/renderer/routes/_authenticated/_dashboard/automations/page.tsx @@ -105,14 +105,15 @@ function AutomationsPage() { ), }); - const { data: automationRows = [] } = useLiveQuery( - (q) => - q - .from({ a: collections.automations }) - .orderBy(({ a }) => a.createdAt, "desc") - .select(({ a }) => ({ ...a })), - [collections.automations], - ); + const { data: automationRows = [], isLoading: automationsLoading } = + useLiveQuery( + (q) => + q + .from({ a: collections.automations }) + .orderBy(({ a }) => a.createdAt, "desc") + .select(({ a }) => ({ ...a })), + [collections.automations], + ); const automations = automationRows as SelectAutomation[]; const { data: userRows = [] } = useLiveQuery( @@ -228,7 +229,7 @@ function AutomationsPage() {