luc-github / ESP3D-WEBUI

A Web UI for ESP8266 or ESP32 based boards connected to 3D printers / CNC
GNU General Public License v3.0
733 stars 304 forks source link

Fix Persistent toasts #375

Closed dbuezas closed 7 months ago

dbuezas commented 7 months ago

When the tab is in the background for long enough, the timeouts pile up and then get all called at once. This resulted in in a stale toastsRef.current array.

luc-github commented 7 months ago

good catch

luc-github commented 7 months ago

Merged thank you

luc-github commented 7 months ago

@all-contributors please add @dbuezas for code update and bug

allcontributors[bot] commented 7 months ago

@luc-github

I've put up a pull request to add @dbuezas! :tada: