mirror of
https://github.com/cheeaun/phanpy.git
synced 2025-02-02 14:16:39 +01:00
Forgot to revert the optimistism
This commit is contained in:
parent
e4116cf9e6
commit
cff13d53f0
1 changed files with 6 additions and 0 deletions
|
@ -533,6 +533,8 @@ function Status({
|
|||
}
|
||||
} catch (e) {
|
||||
console.error(e);
|
||||
// Revert optimistism
|
||||
states.statuses.set(id, status);
|
||||
}
|
||||
}}
|
||||
/>
|
||||
|
@ -564,6 +566,8 @@ function Status({
|
|||
}
|
||||
} catch (e) {
|
||||
console.error(e);
|
||||
// Revert optimistism
|
||||
states.statuses.set(statusID, status);
|
||||
}
|
||||
}}
|
||||
/>
|
||||
|
@ -591,6 +595,8 @@ function Status({
|
|||
}
|
||||
} catch (e) {
|
||||
console.error(e);
|
||||
// Revert optimistism
|
||||
states.statuses.set(statusID, status);
|
||||
}
|
||||
}}
|
||||
/>
|
||||
|
|
Loading…
Reference in a new issue