File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ SpicetifyHomeConfig = {};
21
21
const stickSections = [ ] ;
22
22
const lowSections = [ ] ;
23
23
for ( const uri of stickList ) {
24
- const index = sections . findIndex ( ( a ) => a ?. uri === uri || a ?. item . uri === uri ) ;
24
+ const index = sections . findIndex ( ( a ) => a ?. uri === uri || a ?. item ? .uri === uri ) ;
25
25
if ( index !== - 1 ) {
26
26
const item = sections [ index ] ;
27
27
const uri = item . item . uri || item . uri ;
@@ -31,7 +31,7 @@ SpicetifyHomeConfig = {};
31
31
}
32
32
}
33
33
for ( const uri of lowList ) {
34
- const index = sections . findIndex ( ( a ) => a ?. uri === uri || a ?. item . uri === uri ) ;
34
+ const index = sections . findIndex ( ( a ) => a ?. uri === uri || a ?. item ? .uri === uri ) ;
35
35
if ( index !== - 1 ) {
36
36
const item = sections [ index ] ;
37
37
const uri = item . item . uri || item . uri ;
You can’t perform that action at this time.
0 commit comments