Skip to content

Commit ce8018d

Browse files
committed
fix: add missing options.NetInfo to getNetInfo
1 parent 8ce46f8 commit ce8018d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Meteor.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ const Meteor = {
111111

112112
if (options.NetInfo !== null) {
113113
try {
114-
const NetInfo = getNetInfo();
114+
const NetInfo = getNetInfo(options.NetInfo);
115115

116116
if (options.reachabilityUrl) {
117117
NetInfo.configure({

0 commit comments

Comments
 (0)