diff --git a/packages/builder/src/stores/portal/plugins.ts b/packages/builder/src/stores/portal/plugins.ts index 5b1e04c2ff..0794e563eb 100644 --- a/packages/builder/src/stores/portal/plugins.ts +++ b/packages/builder/src/stores/portal/plugins.ts @@ -7,7 +7,7 @@ export function createPluginsStore() { const { subscribe, set, update } = writable([]) async function load() { - const plugins = (await API.getPlugins()) as Plugin[] + const plugins: Plugin[] = await API.getPlugins() set(plugins) }