-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
front: fix a crash that would happen when editing a train
the two rtk-query calls postV2TrainSchedule & postV2TrainScheduleSimulationSummary do not happen during the same react cycle. if we update a train, one is going to re-fetch first and the 2 are out of sync during a few cycles, which fails an assert.
- Loading branch information
1 parent
7a8685f
commit 3e098d9
Showing
1 changed file
with
23 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters