Browse Source

Adding conditional when opening sockets to only do it once

master
GabrielTrettel 3 years ago
parent
commit
dc97dcff6b
  1. 1
      src/App.js

1
src/App.js

@ -61,6 +61,7 @@ export default function App() {
/>
);
} else if (netInfo.isInternetReachable) {
if (global.formsSockets === undefined)
global.formsSockets = useFiltering(global.location || global.defaultLocation);
return (

Loading…
Cancel
Save