We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent acb871e commit a8d0badCopy full SHA for a8d0bad
packages/radfish/index.js
@@ -43,7 +43,7 @@ export class Application {
43
this._registerEventListeners();
44
45
// Check initial network status if handler provided
46
- if (this._networkHandler) {
+ if (typeof this._networkHandler === 'function') {
47
this._networkHandler(navigator.connection, (status) => {
48
this._handleNetworkStatusChange(status);
49
});
0 commit comments