0
0
Fork 0
mirror of https://github.com/VueTubeApp/VueTube synced 2024-11-25 12:45:17 +00:00

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

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 =