-
Notifications
You must be signed in to change notification settings - Fork 0
Closed
Labels
documentationImprovements or additions to documentationImprovements or additions to documentation
Description
Bug Description
In the Network Status Example Step 1 shows the useOfflineStatus hook needs to be imported.
Then in Step 2 it shows the use of the isOffline state.
What is missing is the invocation of the hook to get access to the isOffline variable.
const { isOffline } = useOfflineStatus();
Steps to Reproduce
Read the documentation.
Expected Behavior
Show all relevant steps needed for the example.
Be sure to include some context to where the user would invoke the hook.
function App() {
const { isOffline } = useOfflineStatus();
Screenshots
No response
System Information
No response
Additional Information
No response
Metadata
Metadata
Assignees
Labels
documentationImprovements or additions to documentationImprovements or additions to documentation
Type
Projects
Status
Done