fix: use inequality instead of greater than for timestamp check

Addresses PR feedback to rely on timestamp inequality since it is more robust to clock issues and timestamp resolution when saving on the backend.
This commit is contained in:
ruinivist
2026-05-31 10:58:45 +00:00
parent 0d0d4b8a85
commit ff2fee02ff
+1 -1
View File
@@ -433,7 +433,7 @@ export function App() {
if (
activeDrawing &&
loadedUpdatedAtRef.current &&
activeDrawing.updatedAt > loadedUpdatedAtRef.current &&
activeDrawing.updatedAt !== loadedUpdatedAtRef.current &&
!inFlightSaveRef.current &&
!inFlightTitleSaveRef.current
) {