Replace short hand type conversions with JavaScript methods

This commit is contained in:
deepsource-autofix[bot] 2022-06-22 05:29:07 +00:00 committed by GitHub
parent 106fdf38e5
commit 92ae6815d3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -52,8 +52,8 @@ export const actions = {
const featuredSection =
channel.contents.singleColumnBrowseResultsRenderer.tabs[0].tabRenderer.content.sectionListRenderer.contents.find(
(i) => {
return !!i?.shelfRenderer?.content?.horizontalListRenderer
?.items[0].gridChannelRenderer;
return Boolean(i?.shelfRenderer?.content?.horizontalListRenderer
?.items[0].gridChannelRenderer);
}
);
state.featuredChannels =