mirror of
https://github.com/VueTubeApp/VueTube
synced 2024-11-29 06:33:05 +00:00
Merge pull request #379 from VueTubeApp/deepsource-fix-66bcaa17
Replace short hand type conversions with JavaScript methods
This commit is contained in:
commit
46afb738c2
1 changed files with 4 additions and 2 deletions
|
@ -52,8 +52,10 @@ 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 =
|
||||
|
|
Loading…
Reference in a new issue