From 4548b07cfe4f3fb12cf0044443479e4fb3c22a3f Mon Sep 17 00:00:00 2001 From: Nate Kelley Date: Thu, 10 Apr 2025 15:06:27 -0600 Subject: [PATCH] update object equality check --- web/src/lib/objects.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/src/lib/objects.ts b/web/src/lib/objects.ts index 5276e267f..6a191b72f 100644 --- a/web/src/lib/objects.ts +++ b/web/src/lib/objects.ts @@ -45,7 +45,7 @@ export const compareObjectsByKeys = ( // Handle other objects if (typeof val1 === 'object' && typeof val2 === 'object') { - const isWasEqual = isEqual(JSON.stringify(val1), JSON.stringify(val2)); + const isWasEqual = isEqual(val1, val2) || isEqual(JSON.stringify(val1), JSON.stringify(val2)); return isWasEqual; }