Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:rotating_light:

Vanessa3d55ab4b9a09
diff --git a/app/src/config/publish.ts b/app/src/config/publish.ts
index a84bb02109..f32733e43f 100644
--- a/app/src/config/publish.ts
+++ b/app/src/config/publish.ts
@@ -1,7 +1,6 @@
import {fetchPost} from "../util/fetch";
import {hasClosestByTag} from "../protyle/util/hasClosest";
import {isMobile} from "../util/functions";
-import {getAllModels} from "../layout/getAll";
export const publish = {
element: undefined as Element,
diff --git a/app/src/plugin/customBlockRender.ts b/app/src/plugin/customBlockRender.ts
index c0c9962f62..54603cba85 100644
--- a/app/src/plugin/customBlockRender.ts
+++ b/app/src/plugin/customBlockRender.ts
@@ -1,5 +1,3 @@
-import {App} from "../index";
-
// TODO
-export const customBlockRender = (app: App, element: Element) => {
+export const customBlockRender = () => {
};