diff --git a/components/brave_new_tab_ui/components/default/braveToday/customize/Context.tsx b/components/brave_new_tab_ui/components/default/braveToday/customize/Context.tsx index cfbf2cbcd11e..f7c1463095cd 100644 --- a/components/brave_new_tab_ui/components/default/braveToday/customize/Context.tsx +++ b/components/brave_new_tab_ui/components/default/braveToday/customize/Context.tsx @@ -123,7 +123,7 @@ export const useChannels = (options: { subscribedOnly: boolean } = { subscribedO export const useChannelSubscribed = (channelName: string) => { const { channels } = useBraveNews() const subscribed = useMemo(() => channels[channelName]?.subscribedLocales.includes(api.locale) ?? false, [channels[channelName]]) - const setSubscribed = React.useCallback((subscribed: boolean) => { + const setSubscribed = React.useCallback((subscribed: boolean) => { api.setChannelSubscribed(channelName, subscribed) }, [channelName])