Skip to content

Commit 2d9d278

Browse files
author
Davide Briani
committed
fix(isomorphic-is-online): Fix typo, function was not being called
1 parent 8fea7da commit 2d9d278

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ export default class Online extends React.Component<Props, State> {
4343
return this.handleChange(false);
4444
}
4545
}
46-
isOnline.then(online => this.handleChange(online));
46+
isOnline().then(online => this.handleChange(online));
4747
};
4848

4949
handleChange = online => {

0 commit comments

Comments
 (0)