-
Notifications
You must be signed in to change notification settings - Fork 40
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
1484faf
commit 6d020d8
Showing
1 changed file
with
27 additions
and
13 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