diff --git a/src/ONYXKEYS.ts b/src/ONYXKEYS.ts index 74e4f1d9416..ff79ebaa9ad 100755 --- a/src/ONYXKEYS.ts +++ b/src/ONYXKEYS.ts @@ -568,9 +568,6 @@ const ONYXKEYS = { /** Stores the information if mobile selection mode is active */ RAM_ONLY_MOBILE_SELECTION_MODE: 'mobileSelectionMode', - /** Session-scoped flag: user dismissed the "enable notifications" banner in the Concierge chat */ - RAM_ONLY_HAS_DISMISSED_CONCIERGE_NOTIFICATION_BANNER: 'hasDismissedConciergeNotificationBanner', - NVP_PRIVATE_CANCELLATION_DETAILS: 'nvp_private_cancellationDetails', /** Stores the information about duplicated workspace */ @@ -1587,7 +1584,6 @@ type OnyxValuesMapping = { [ONYXKEYS.ADD_NEW_PERSONAL_CARD]: OnyxTypes.AddNewPersonalCard; [ONYXKEYS.ASSIGN_CARD]: OnyxTypes.AssignCard; [ONYXKEYS.RAM_ONLY_MOBILE_SELECTION_MODE]: boolean; - [ONYXKEYS.RAM_ONLY_HAS_DISMISSED_CONCIERGE_NOTIFICATION_BANNER]: boolean; [ONYXKEYS.DUPLICATE_WORKSPACE]: OnyxTypes.DuplicateWorkspace; [ONYXKEYS.COPY_POLICY_SETTINGS]: OnyxTypes.CopyPolicySettings; [ONYXKEYS.NVP_FIRST_DAY_FREE_TRIAL]: string; diff --git a/src/components/Banner.tsx b/src/components/Banner.tsx index ad2ca1595e6..f652653f910 100644 --- a/src/components/Banner.tsx +++ b/src/components/Banner.tsx @@ -53,9 +53,6 @@ type BannerProps = { /** Callback called when pressing the button */ onButtonPress?: () => void; - - /** Custom action content rendered in the right side of the banner. Overrides the configured `shouldShowButton` when provided. */ - children?: React.ReactNode; }; function Banner({ @@ -67,7 +64,6 @@ function Banner({ onButtonPress, containerStyles, textStyles, - children, shouldRenderHTML = false, shouldShowIcon = false, shouldShowCloseButton = false, @@ -122,15 +118,14 @@ function Banner({ ))} - {children ?? - (shouldShowButton && ( -