clean codes
This commit is contained in:
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user