Skip to content

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

:art: Clean code

Daniel3445ad7d2cbb
diff --git a/app/src/protyle/export/index.ts b/app/src/protyle/export/index.ts
index 306a71cdff..a1f8ed1810 100644
--- a/app/src/protyle/export/index.ts
+++ b/app/src/protyle/export/index.ts
@@ -28,7 +28,7 @@ const getIconScript = (servePath: string) => {
const isBuiltInIcon = ["ant", "material"].includes(window.siyuan.config.appearance.icon);
const html = isBuiltInIcon ? "" : `<script src="${servePath}appearance/icons/material/icon.js?v=${Constants.SIYUAN_VERSION}"></script>`;
return html + `<script src="${servePath}appearance/icons/${window.siyuan.config.appearance.icon}/icon.js?v=${Constants.SIYUAN_VERSION}"></script>`;
-}
+};
export const saveExport = (option: IExportOptions) => {
/// #if BROWSER