From 171f2226b0d1dc0f24480828d4df8f054e9cfcc5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20Backhaus?= Date: Thu, 1 Feb 2024 19:10:33 +0100 Subject: [PATCH] Fix typo --- content/core/connectivity.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/core/connectivity.md b/content/core/connectivity.md index 6aa45aa2..00a9eeae 100644 --- a/content/core/connectivity.md +++ b/content/core/connectivity.md @@ -23,7 +23,7 @@ const connectionType: number = Connectivity.getConnectionType() if (connectionType) { // `Connectivity.connectionType.none`` is `0` so truthiness can be used to determine if the device is connected to any type of network fetch('https://httpbin.org/get') - .then((response) => reponse.text()) + .then((response) => response.text()) .then((result) => console.log(`Fetched ${result} with ${connectionType}`)) } else { console.log('Not connected to a network.')