From 79c67b0ca682839a5dbd528d9dea38b1cdade31b Mon Sep 17 00:00:00 2001 From: VickyStash Date: Mon, 8 Jan 2024 12:29:39 +0100 Subject: [PATCH] Update ReportActionReaction type --- src/components/Reactions/ReportActionItemEmojiReactions.tsx | 2 +- src/types/onyx/ReportActionReactions.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/Reactions/ReportActionItemEmojiReactions.tsx b/src/components/Reactions/ReportActionItemEmojiReactions.tsx index d1a2cf56b6a5..69779dc316e1 100644 --- a/src/components/Reactions/ReportActionItemEmojiReactions.tsx +++ b/src/components/Reactions/ReportActionItemEmojiReactions.tsx @@ -67,7 +67,7 @@ type FormattedReaction = { reactionEmojiName: string; /** The type of action that's pending */ - pendingAction: PendingAction; + pendingAction?: PendingAction; }; function ReportActionItemEmojiReactions({ diff --git a/src/types/onyx/ReportActionReactions.ts b/src/types/onyx/ReportActionReactions.ts index 0173fcf244f5..be117aafc4c5 100644 --- a/src/types/onyx/ReportActionReactions.ts +++ b/src/types/onyx/ReportActionReactions.ts @@ -24,7 +24,7 @@ type ReportActionReaction = { users: UsersReactions; /** Is this action pending? */ - pendingAction: OnyxCommon.PendingAction; + pendingAction?: OnyxCommon.PendingAction; }; type ReportActionReactions = Record;