From bed820c57c31cd7c073adb7d3eccbfbe2ca6c553 Mon Sep 17 00:00:00 2001 From: Blazej Kustra Date: Tue, 20 May 2025 18:02:34 +0200 Subject: [PATCH] Fix that current date can be missing --- src/pages/home/report/ReportActionItemDate.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/home/report/ReportActionItemDate.tsx b/src/pages/home/report/ReportActionItemDate.tsx index 43471489b402..0c9029137854 100644 --- a/src/pages/home/report/ReportActionItemDate.tsx +++ b/src/pages/home/report/ReportActionItemDate.tsx @@ -14,7 +14,7 @@ function ReportActionItemDate({created}: ReportActionItemDateProps) { const styles = useThemeStyles(); // It is used to force re-render of component that display relative time, ensuring they update correctly when the date changes (e.g., at midnight). - useOnyx(ONYXKEYS.CURRENT_DATE, {canBeMissing: false}); + useOnyx(ONYXKEYS.CURRENT_DATE, {canBeMissing: true}); return {datetimeToCalendarTime(created, false, false)}; }