File tree Expand file tree Collapse file tree 8 files changed +12
-8
lines changed Expand file tree Collapse file tree 8 files changed +12
-8
lines changed Original file line number Diff line number Diff line change 1212 "complexity" : {
1313 "noUselessSwitchCase" : " off"
1414 },
15+ "correctness" : {
16+ "noUnusedImports" : " warn" ,
17+ "noUnusedVariables" : " warn"
18+ },
1519 "suspicious" : {
1620 "noConsoleLog" : " warn"
1721 }
Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ export default function Sample() {
6666 </ div >
6767 < div className = "Example__container__document" ref = { setContainerRef } >
6868 < Document file = { file } onLoadSuccess = { onDocumentLoadSuccess } options = { options } >
69- { Array . from ( new Array ( numPages ) , ( el , index ) => (
69+ { Array . from ( new Array ( numPages ) , ( _el , index ) => (
7070 < Page
7171 key = { `page_${ index + 1 } ` }
7272 pageNumber = { index + 1 }
Original file line number Diff line number Diff line change @@ -68,7 +68,7 @@ export default function Sample() {
6868 </ div >
6969 < div className = "Example__container__document" ref = { setContainerRef } >
7070 < Document file = { file } onLoadSuccess = { onDocumentLoadSuccess } options = { options } >
71- { Array . from ( new Array ( numPages ) , ( el , index ) => (
71+ { Array . from ( new Array ( numPages ) , ( _el , index ) => (
7272 < Page
7373 key = { `page_${ index + 1 } ` }
7474 pageNumber = { index + 1 }
Original file line number Diff line number Diff line change @@ -64,7 +64,7 @@ export default function Sample() {
6464 </ div >
6565 < div className = "Example__container__document" ref = { setContainerRef } >
6666 < Document file = { file } onLoadSuccess = { onDocumentLoadSuccess } options = { options } >
67- { Array . from ( new Array ( numPages ) , ( el , index ) => (
67+ { Array . from ( new Array ( numPages ) , ( _el , index ) => (
6868 < Page
6969 key = { `page_${ index + 1 } ` }
7070 pageNumber = { index + 1 }
Original file line number Diff line number Diff line change @@ -68,7 +68,7 @@ export default function Sample() {
6868 </ div >
6969 < div className = "Example__container__document" ref = { setContainerRef } >
7070 < Document file = { file } onLoadSuccess = { onDocumentLoadSuccess } options = { options } >
71- { Array . from ( new Array ( numPages ) , ( el , index ) => (
71+ { Array . from ( new Array ( numPages ) , ( _el , index ) => (
7272 < Page
7373 key = { `page_${ index + 1 } ` }
7474 pageNumber = { index + 1 }
Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ export default function Sample() {
6666 </ div >
6767 < div className = "Example__container__document" ref = { setContainerRef } >
6868 < Document file = { file } onLoadSuccess = { onDocumentLoadSuccess } options = { options } >
69- { Array . from ( new Array ( numPages ) , ( el , index ) => (
69+ { Array . from ( new Array ( numPages ) , ( _el , index ) => (
7070 < Page
7171 key = { `page_${ index + 1 } ` }
7272 pageNumber = { index + 1 }
Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ export default function Sample() {
6666 </ div >
6767 < div className = "Example__container__document" ref = { setContainerRef } >
6868 < Document file = { file } onLoadSuccess = { onDocumentLoadSuccess } options = { options } >
69- { Array . from ( new Array ( numPages ) , ( el , index ) => (
69+ { Array . from ( new Array ( numPages ) , ( _el , index ) => (
7070 < Page
7171 key = { `page_${ index + 1 } ` }
7272 pageNumber = { index + 1 }
Original file line number Diff line number Diff line change @@ -292,7 +292,7 @@ export default function Test() {
292292 < div className = "Test__container__content__document" >
293293 { render ? (
294294 displayAll ? (
295- Array . from ( new Array ( numPages ) , ( el , index ) => (
295+ Array . from ( new Array ( numPages ) , ( _el , index ) => (
296296 < Page
297297 key = { `page_${ index + 1 } ` }
298298 { ...pageProps }
@@ -327,7 +327,7 @@ export default function Test() {
327327 </ div >
328328 ) }
329329 < div className = "Test__container__content__thumbnails" >
330- { Array . from ( new Array ( numPages ) , ( el , index ) => (
330+ { Array . from ( new Array ( numPages ) , ( _el , index ) => (
331331 < Thumbnail
332332 key = { `thumbnail_${ index + 1 } ` }
333333 className = "custom-classname-thumbnail"
You can’t perform that action at this time.
0 commit comments