Commit dfd4832
committed
fix(useNetworkState): drop vendor-prefixed connection fallbacks
mozConnection and webkitConnection existed only on old Firefox for
Android and pre-61 Chromium; every browser exposing the Network
Information API today ships unprefixed navigator.connection. Firefox
and Safari do not ship the API at all.1 parent dcc2482 commit dfd4832
1 file changed
Lines changed: 2 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
69 | | - | |
70 | | - | |
| 69 | + | |
71 | 70 | | |
72 | 71 | | |
73 | | - | |
74 | | - | |
| 72 | + | |
75 | 73 | | |
76 | 74 | | |
77 | 75 | | |
| |||
0 commit comments