remove console.logs

This commit is contained in:
Kuba Orlik 2023-12-10 16:29:21 +01:00
parent 5efc239fff
commit f6e00d120a

View File

@ -15,10 +15,8 @@ function download(data: string, filename: string, type: string) {
}
async function handle() {
console.log("browser.ts:2");
const csv_input = document.getElementById("csv");
if (!csv_input || !(csv_input instanceof HTMLInputElement)) {
console.log("browser.ts:5");
throw new Error("coudl not find the csv input");
}
var fileName = csv_input.value.replace("C:\\fakepath\\", "");