File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -36,7 +36,6 @@ const Stats = () => {
3636 } ) ;
3737 // eslint-disable-next-line @typescript-eslint/no-unused-vars
3838 const [ packages , setPackages ] = useState ( statsList ) ;
39- // const [allPackage, setAllPackage] = useState(packageList);
4039
4140 function closeModal ( ) {
4241 setIsOpen ( false ) ;
@@ -45,7 +44,7 @@ const Stats = () => {
4544
4645 useEffect ( ( ) => {
4746 if ( npmPackage ) {
48- setCount ( npmPackage . total ) ; // Open the modal when npmPackage is updated
47+ setCount ( npmPackage . total ) ; //update total count when npmPackage is updated
4948 }
5049 } , [ npmPackage ] ) ;
5150
@@ -371,7 +370,7 @@ const Stats = () => {
371370 className = 'h-6 w-6'
372371 fill = 'none'
373372 viewBox = '0 0 24 24'
374- stroke = 'red '
373+ stroke = 'black '
375374 >
376375 < path
377376 strokeLinecap = 'round'
You can’t perform that action at this time.
0 commit comments