From 72373dcbf58086c70881488bbd47d16ebf772190 Mon Sep 17 00:00:00 2001 From: CristianSpatari Date: Thu, 7 Dec 2023 14:49:18 +0200 Subject: [PATCH] fix(remove) comment --- public/editor-client/src/fonts/index.ts | 32 ------------------------- 1 file changed, 32 deletions(-) diff --git a/public/editor-client/src/fonts/index.ts b/public/editor-client/src/fonts/index.ts index 9e65be1afd..d2facd4fcc 100644 --- a/public/editor-client/src/fonts/index.ts +++ b/public/editor-client/src/fonts/index.ts @@ -41,35 +41,3 @@ export const adobeFont = (): AdobeFonts => { } }; }; - -// export const getAdobeFonts = { -// async handler(res: Response, rej: Response) { -// const config = getConfig(); -// -// if (!config) { -// throw new Error(t("Invalid __BRZ_PLUGIN_ENV__")); -// } -// -// const { editorVersion, url: _url, hash, actions } = config; -// -// const url = makeUrl(_url, { -// hash, -// action: actions.adobeFontsUrl, -// version: editorVersion -// }); -// -// const r = await request(url, { -// method: "GET" -// }); -// -// if (r.ok) { -// const d = await r.json(); -// -// if (d) { -// res(convertDataToLocal(d.data)); -// } -// } else { -// rej("Failed to get adobe fonts"); -// } -// } -// };