Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion content/core/connectivity.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.')
Expand Down