1
0
Fork 0
mirror of https://github.com/maybe-finance/maybe.git synced 2025-07-27 09:09:41 +02:00

Prevent double-renders when displaying turbo caches of time series charts

This commit is contained in:
Jose Farias 2024-04-20 12:28:10 -06:00
parent 92e9e181ad
commit 663a58c9f3

View file

@ -23,6 +23,7 @@ export default class extends Controller {
} }
disconnect() { disconnect() {
this.#teardown()
document.removeEventListener("turbo:load", this.#reinstall) document.removeEventListener("turbo:load", this.#reinstall)
} }