Browse Source

changed interval to 4 sec

Bernadette Elena Hammerle 4 years ago
parent
commit
a6956e7931
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/App.js

+ 1 - 1
src/App.js

@@ -18,7 +18,7 @@ class App extends Component {
   // is called once when loading the page
   componentDidMount() {
     this.reloadLocations();
-    setInterval(this.updateLocation, 10000);
+    setInterval(this.updateLocation, 4000);
   }
   
   reloadLocations = () => {