diff --git a/front/src/components/boxs/weather/WeatherBox.jsx b/front/src/components/boxs/weather/WeatherBox.jsx index c8baa024e7..7cac22aaad 100644 --- a/front/src/components/boxs/weather/WeatherBox.jsx +++ b/front/src/components/boxs/weather/WeatherBox.jsx @@ -219,7 +219,7 @@ class WeatherBoxComponent extends Component { componentDidMount() { this.refreshData(); // refresh weather every interval - this.interval = setInterval(() => this.refreshData, BOX_REFRESH_INTERVAL_MS); + this.interval = setInterval(() => this.refreshData(), BOX_REFRESH_INTERVAL_MS); } componentDidUpdate(previousProps) {