mirror of
https://github.com/pheralb/svgl.git
synced 2025-02-05 22:48:17 +08:00
🔧 Fix async/await issue in svgCard
This commit is contained in:
parent
4412e39134
commit
b09257db7f
@ -32,7 +32,7 @@
|
||||
let wordmarkSvg = false;
|
||||
|
||||
const insertSVG = async (url?: string) => {
|
||||
const content = (await getSvgContent(url, false)) as string;
|
||||
const content = (await getSvgContent(url)) as string;
|
||||
figmaInsertSVG(content);
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user