diff --git a/components/brave_new_tab_ui/reducers/new_tab_reducer.tsx b/components/brave_new_tab_ui/reducers/new_tab_reducer.tsx index 19ce26cb38ab..afaa173baef7 100644 --- a/components/brave_new_tab_ui/reducers/new_tab_reducer.tsx +++ b/components/brave_new_tab_ui/reducers/new_tab_reducer.tsx @@ -331,6 +331,10 @@ export const newTabReducer: Reducer = (state: NewTab.S state = { ...state } + if (!state.rewardsState.promotions) { + state.rewardsState.promotions = [] + } + promotions.forEach((promotion: NewTab.Promotion) => { if (!state || !state.rewardsState) { return @@ -368,6 +372,10 @@ export const newTabReducer: Reducer = (state: NewTab.S break } + if (!state.rewardsState.promotions) { + state.rewardsState.promotions = [] + } + state = { ...state } const oldNotifications = state.rewardsState.dismissedNotifications