diff --git a/src/routes/home/Home.js b/src/routes/home/Home.js index 1af9576e..a96ae12b 100644 --- a/src/routes/home/Home.js +++ b/src/routes/home/Home.js @@ -75,9 +75,9 @@ const debouncedGetVehicleType = debounce( 1000, ); -const debouncedSaveStateToLocalStorage = debounce(self => { - self.saveStateToLocalStorage(); -}, 500); +// const debouncedSaveStateToLocalStorage = debounce(self => { +// self.saveStateToLocalStorage(); +// }, 500); const defaultLatitude = 40.7128; const defaultLongitude = -74.006; @@ -720,7 +720,7 @@ class Home extends React.Component { { [name]: value, }, - () => debouncedSaveStateToLocalStorage(this), + // () => debouncedSaveStateToLocalStorage(this), ); };