From 45600880fee962d8383cd31efe0e91d72e188959 Mon Sep 17 00:00:00 2001 From: Ash Date: Fri, 13 Dec 2024 11:18:42 +0000 Subject: [PATCH] fix(sanity): relative dates incorrectly appearing to be in the future --- packages/sanity/src/core/hooks/useRelativeTime.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/sanity/src/core/hooks/useRelativeTime.ts b/packages/sanity/src/core/hooks/useRelativeTime.ts index 796b6e3e27f..6a4f111f147 100644 --- a/packages/sanity/src/core/hooks/useRelativeTime.ts +++ b/packages/sanity/src/core/hooks/useRelativeTime.ts @@ -1,3 +1,5 @@ +'use no memo' + import { differenceInDays, differenceInHours,