🔧 Fix async/await issue in svgCard

This commit is contained in:
pheralb 2024-04-20 21:25:00 +01:00
parent 4412e39134
commit b09257db7f

View File

@ -32,7 +32,7 @@
let wordmarkSvg = false; let wordmarkSvg = false;
const insertSVG = async (url?: string) => { const insertSVG = async (url?: string) => {
const content = (await getSvgContent(url, false)) as string; const content = (await getSvgContent(url)) as string;
figmaInsertSVG(content); figmaInsertSVG(content);
}; };