Skip to content
This repository has been archived by the owner on Jul 5, 2021. It is now read-only.

useOnline api change

Compare
Choose a tag to compare
@lpww lpww released this 12 Feb 23:53
· 252 commits to master since this release

useOnline will now directly return a status boolean instead of an object with a status property.

Old const { status } = useOnline()

New const online = useOnline()