File tree Expand file tree Collapse file tree
packages/devtools-seo/src/tabs Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -638,22 +638,27 @@ export function JsonLdPreviewSection() {
638638 : s . seoHealthFillPoor
639639 return `${ s . seoHealthFill } ${ tierFill } `
640640 }
641- const errorCount = ( ) => entries ( ) . reduce (
642- ( total , entry ) =>
643- total + entry . issues . filter ( ( issue ) => issue . severity === 'error' ) . length ,
644- 0 ,
645- )
646- const warningCount = ( ) => entries ( ) . reduce (
647- ( total , entry ) =>
648- total +
649- entry . issues . filter ( ( issue ) => issue . severity === 'warning' ) . length ,
650- 0 ,
651- )
652- const infoCount = ( ) => entries ( ) . reduce (
653- ( total , entry ) =>
654- total + entry . issues . filter ( ( issue ) => issue . severity === 'info' ) . length ,
655- 0 ,
656- )
641+ const errorCount = ( ) =>
642+ entries ( ) . reduce (
643+ ( total , entry ) =>
644+ total +
645+ entry . issues . filter ( ( issue ) => issue . severity === 'error' ) . length ,
646+ 0 ,
647+ )
648+ const warningCount = ( ) =>
649+ entries ( ) . reduce (
650+ ( total , entry ) =>
651+ total +
652+ entry . issues . filter ( ( issue ) => issue . severity === 'warning' ) . length ,
653+ 0 ,
654+ )
655+ const infoCount = ( ) =>
656+ entries ( ) . reduce (
657+ ( total , entry ) =>
658+ total +
659+ entry . issues . filter ( ( issue ) => issue . severity === 'info' ) . length ,
660+ 0 ,
661+ )
657662 const progressAriaLabel = createMemo ( ( ) => {
658663 const parts = [ `JSON-LD health ${ Math . round ( score ( ) ) } percent` ]
659664 const sev = [
You can’t perform that action at this time.
0 commit comments