From ed35acc01affb459b38a0ea3a0f7a454ecacf5c8 Mon Sep 17 00:00:00 2001 From: Adria Navarro Date: Fri, 17 Jan 2025 11:57:38 +0100 Subject: [PATCH] Revert Component store to readable --- packages/client/src/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/client/src/index.ts b/packages/client/src/index.ts index 80ac725df3..ada30d53ec 100644 --- a/packages/client/src/index.ts +++ b/packages/client/src/index.ts @@ -1,6 +1,6 @@ import { APIClient } from "@budibase/frontend-core" import type { ActionTypes } from "./constants" -import { Readable, Writable } from "svelte/store" +import { Readable } from "svelte/store" export interface SDK { API: APIClient @@ -14,7 +14,7 @@ export interface SDK { }> } -export type Component = Writable<{ +export type Component = Readable<{ id: string styles: any errorState: boolean