From e0267258a46f1998a0788aaeca399e92b1df9f5e Mon Sep 17 00:00:00 2001 From: Jaiwanth Date: Thu, 30 Sep 2021 16:24:31 +0530 Subject: [PATCH] Initialize css string --- src/utils/exportUtils/exportCSS.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/exportUtils/exportCSS.ts b/src/utils/exportUtils/exportCSS.ts index 3bad94d938..f7f471fda3 100644 --- a/src/utils/exportUtils/exportCSS.ts +++ b/src/utils/exportUtils/exportCSS.ts @@ -25,7 +25,7 @@ const getExportCSS = async (): Promise => { stylesheets.push(e.href); } }); - let CSS: string; + let CSS = ""; for (const stylesheet of stylesheets) { const res = await fetch(stylesheet); const innerText = await res.text();