Skip to content

Commit

Permalink
fix build error
Browse files Browse the repository at this point in the history
  • Loading branch information
Jennievon committed Dec 8, 2023
1 parent f80c751 commit 50e9c2f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const MessageContent = (
);

export const NetworkStatus = ({ message = MessageContent }) => {
const [isOnline, setIsOnline] = React.useState(navigator?.onLine ?? true);
const [isOnline, setIsOnline] = React.useState(true);

React.useEffect(() => {
const setOnlineStatus = () => {
Expand Down

0 comments on commit 50e9c2f

Please sign in to comment.