Skip to content

Commit

Permalink
fix(remove) comment
Browse files Browse the repository at this point in the history
  • Loading branch information
CristianSpatari committed Jan 15, 2024
1 parent 9b0475b commit 58076ec
Showing 1 changed file with 0 additions and 32 deletions.
32 changes: 0 additions & 32 deletions public/editor-client/src/fonts/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,35 +41,3 @@ export const adobeFont = (): AdobeFonts => {
}
};
};

// export const getAdobeFonts = {
// async handler(res: Response<unknown>, rej: Response<string>) {
// 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");
// }
// }
// };

0 comments on commit 58076ec

Please sign in to comment.