mockApi erstellt, um die Eingabe zu simulieren, aber funktioniert nocht nicht ganz

This commit is contained in:
ISA
2025-03-05 12:37:08 +01:00
parent 3a21abd4bb
commit 82001a4beb
20 changed files with 294 additions and 763 deletions

View File

@@ -1,5 +0,0 @@
export const checkInternet = () => {
fetch("https://tile.openstreetmap.org/1/1/1.png", { method: "HEAD" })
.then((response) => setOnline(response.ok))
.catch(() => setOnline(false));
};