diff --git a/src/components/status.jsx b/src/components/status.jsx index b000f483..22d40def 100644 --- a/src/components/status.jsx +++ b/src/components/status.jsx @@ -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); } }} />