Initialize css string

This commit is contained in:
Jaiwanth 2021-09-30 16:24:31 +05:30
parent d264f5f98e
commit e0267258a4

View file

@ -25,7 +25,7 @@ const getExportCSS = async (): Promise<string> => {
stylesheets.push(e.href);
}
});
let CSS: string;
let CSS = "";
for (const stylesheet of stylesheets) {
const res = await fetch(stylesheet);
const innerText = await res.text();