mirror of
https://github.com/pheralb/svgl.git
synced 2024-11-10 14:46:54 +08:00
🔧 Fix async/await issue in svgCard
This commit is contained in:
parent
4412e39134
commit
b09257db7f
@ -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);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user