Skip to content

Commit

Permalink
Fix line indentation as a result of "Merge pull request #15749 from b…
Browse files Browse the repository at this point in the history
…rave/bn-locale-parsing-uplift"
  • Loading branch information
petemill committed Nov 7, 2022
1 parent 5e89cd8 commit da7c4db
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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])

Expand Down

0 comments on commit da7c4db

Please sign in to comment.