Skip to content

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

:art: Clean code

Daniel1efa2201032c
diff --git a/app/src/config/bazaar.ts b/app/src/config/bazaar.ts
index abcdf03a34..7ef8d96789 100644
--- a/app/src/config/bazaar.ts
+++ b/app/src/config/bazaar.ts
@@ -1,9 +1,8 @@
-import {appearance} from "./appearance";
import {showMessage} from "../dialog/message";
import {fetchPost} from "../util/fetch";
import {confirmDialog} from "../dialog/confirmDialog";
import {highlightRender} from "../protyle/render/highlightRender";
-import {exportLayout, saveLayout} from "../layout/util";
+import {saveLayout} from "../layout/util";
import {Constants} from "../constants";
/// #if !BROWSER
import * as path from "path";
diff --git a/app/src/config/util/updateAppearance.ts b/app/src/config/util/updateAppearance.ts
index 48888071e0..27693246e8 100644
--- a/app/src/config/util/updateAppearance.ts
+++ b/app/src/config/util/updateAppearance.ts
@@ -37,4 +37,4 @@ export const updateAppearance = async (data:IAppearance) => {
}
}
appearance.onSetAppearance(data);
-}
+};