From ff2fee02ff3e2350be8c8df8bb63471d93ad4a94 Mon Sep 17 00:00:00 2001 From: ruinivist <179396038+ruinivist@users.noreply.github.com> Date: Sun, 31 May 2026 10:58:45 +0000 Subject: [PATCH] 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. --- src/App.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/App.tsx b/src/App.tsx index 3ec6f0b..d580bf6 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -433,7 +433,7 @@ export function App() { if ( activeDrawing && loadedUpdatedAtRef.current && - activeDrawing.updatedAt > loadedUpdatedAtRef.current && + activeDrawing.updatedAt !== loadedUpdatedAtRef.current && !inFlightSaveRef.current && !inFlightTitleSaveRef.current ) {