clean codes

This commit is contained in:
Gabe Yuan
2023-08-10 10:29:10 +08:00
parent 66e9b11e5c
commit 1c240d6edd

View File

@@ -97,16 +97,6 @@ export const fetchData = async (
} else { } else {
res = await fetch(input, init); res = await fetch(input, init);
} }
// if (isGm) {
// if (useUnsafe) {
// // res = await window.unsafeWindow.fetch(input, init);
// res = await fetch(input, init);
// } else {
// res = await fetchGM(input, init);
// }
// } else {
// res = await fetch(input, init);
// }
} }
if (!res?.ok) { if (!res?.ok) {