forked from pi-sharan/eCommerce-React
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintcache
1 lines (1 loc) · 40.2 KB
/
.eslintcache
1
[{"C:\\Users\\Acer\\Desktop\\eCommerce-React-main\\src\\index.js":"1","C:\\Users\\Acer\\Desktop\\eCommerce-React-main\\src\\Components\\App.js":"2","C:\\Users\\Acer\\Desktop\\eCommerce-React-main\\src\\Components\\Navbar.js":"3","C:\\Users\\Acer\\Desktop\\eCommerce-React-main\\src\\reducers\\index.js":"4","C:\\Users\\Acer\\Desktop\\eCommerce-React-main\\src\\Components\\Motherboard.js":"5","C:\\Users\\Acer\\Desktop\\eCommerce-React-main\\src\\Components\\Memory.js":"6","C:\\Users\\Acer\\Desktop\\eCommerce-React-main\\src\\Components\\GraphicsCard.js":"7","C:\\Users\\Acer\\Desktop\\eCommerce-React-main\\src\\Components\\Cart.js":"8","C:\\Users\\Acer\\Desktop\\eCommerce-React-main\\src\\Components\\Home.js":"9","C:\\Users\\Acer\\Desktop\\eCommerce-React-main\\src\\Components\\Processor.js":"10","C:\\Users\\Acer\\Desktop\\eCommerce-React-main\\src\\Components\\AddProduct.js":"11","C:\\Users\\Acer\\Desktop\\eCommerce-React-main\\src\\Components\\SignIn.js":"12","C:\\Users\\Acer\\Desktop\\eCommerce-React-main\\src\\Components\\Footer.js":"13","C:\\Users\\Acer\\Desktop\\eCommerce-React-main\\src\\Components\\Carousel.js":"14","C:\\Users\\Acer\\Desktop\\eCommerce-React-main\\src\\Components\\Item.js":"15","C:\\Users\\Acer\\Desktop\\eCommerce-React-main\\src\\Components\\CartItem.js":"16","C:\\Users\\Acer\\Desktop\\eCommerce-React-main\\src\\action\\index.js":"17","C:\\Users\\Acer\\Desktop\\eCommerce-React-main\\src\\Components\\AddSubItem.js":"18","C:\\Users\\Acer\\Desktop\\eCommerce-React-main\\src\\Components\\LogIn.js":"19","C:\\Users\\Acer\\Desktop\\eCommerce-React-main - Copy\\src\\index.js":"20","C:\\Users\\Acer\\Desktop\\eCommerce-React-main - Copy\\src\\Components\\App.js":"21","C:\\Users\\Acer\\Desktop\\eCommerce-React-main - Copy\\src\\Components\\Navbar.js":"22","C:\\Users\\Acer\\Desktop\\eCommerce-React-main - Copy\\src\\reducers\\index.js":"23","C:\\Users\\Acer\\Desktop\\eCommerce-React-main - Copy\\src\\Components\\Motherboard.js":"24","C:\\Users\\Acer\\Desktop\\eCommerce-React-main - Copy\\src\\Components\\Memory.js":"25","C:\\Users\\Acer\\Desktop\\eCommerce-React-main - Copy\\src\\Components\\GraphicsCard.js":"26","C:\\Users\\Acer\\Desktop\\eCommerce-React-main - Copy\\src\\Components\\Processor.js":"27","C:\\Users\\Acer\\Desktop\\eCommerce-React-main - Copy\\src\\Components\\Cart.js":"28","C:\\Users\\Acer\\Desktop\\eCommerce-React-main - Copy\\src\\Components\\AddProduct.js":"29","C:\\Users\\Acer\\Desktop\\eCommerce-React-main - Copy\\src\\Components\\Home.js":"30","C:\\Users\\Acer\\Desktop\\eCommerce-React-main - Copy\\src\\Components\\LogIn.js":"31","C:\\Users\\Acer\\Desktop\\eCommerce-React-main - Copy\\src\\Components\\Footer.js":"32","C:\\Users\\Acer\\Desktop\\eCommerce-React-main - Copy\\src\\Components\\SignIn.js":"33","C:\\Users\\Acer\\Desktop\\eCommerce-React-main - Copy\\src\\Components\\Carousel.js":"34","C:\\Users\\Acer\\Desktop\\eCommerce-React-main - Copy\\src\\Components\\Item.js":"35","C:\\Users\\Acer\\Desktop\\eCommerce-React-main - Copy\\src\\Components\\CartItem.js":"36","C:\\Users\\Acer\\Desktop\\eCommerce-React-main - Copy\\src\\action\\index.js":"37","C:\\Users\\Acer\\Desktop\\eCommerce-React-main - Copy\\src\\Components\\AddSubItem.js":"38","E:\\csoc\\eCommerce-React\\src\\index.js":"39","E:\\csoc\\eCommerce-React\\src\\Components\\App.js":"40","E:\\csoc\\eCommerce-React\\src\\reducers\\index.js":"41","E:\\csoc\\eCommerce-React\\src\\Components\\Navbar.js":"42","E:\\csoc\\eCommerce-React\\src\\Components\\Motherboard.js":"43","E:\\csoc\\eCommerce-React\\src\\Components\\Home.js":"44","E:\\csoc\\eCommerce-React\\src\\Components\\Cart.js":"45","E:\\csoc\\eCommerce-React\\src\\Components\\Memory.js":"46","E:\\csoc\\eCommerce-React\\src\\Components\\GraphicsCard.js":"47","E:\\csoc\\eCommerce-React\\src\\Components\\Processor.js":"48","E:\\csoc\\eCommerce-React\\src\\Components\\AddProduct.js":"49","E:\\csoc\\eCommerce-React\\src\\Components\\LogIn.js":"50","E:\\csoc\\eCommerce-React\\src\\Components\\Footer.js":"51","E:\\csoc\\eCommerce-React\\src\\Components\\SignIn.js":"52","E:\\csoc\\eCommerce-React\\src\\Components\\Carousel.js":"53","E:\\csoc\\eCommerce-React\\src\\Components\\Item.js":"54","E:\\csoc\\eCommerce-React\\src\\Components\\CartItem.js":"55","E:\\csoc\\eCommerce-React\\src\\action\\index.js":"56","E:\\csoc\\eCommerce-React\\src\\Components\\AddSubItem.js":"57"},{"size":441,"mtime":1611716826000,"results":"58","hashOfConfig":"59"},{"size":1367,"mtime":1635970751914,"results":"60","hashOfConfig":"59"},{"size":1813,"mtime":1611716826000,"results":"61","hashOfConfig":"59"},{"size":1512,"mtime":1611716826000,"results":"62","hashOfConfig":"59"},{"size":909,"mtime":1636106811713,"results":"63","hashOfConfig":"59"},{"size":827,"mtime":1636106803260,"results":"64","hashOfConfig":"59"},{"size":824,"mtime":1636106785131,"results":"65","hashOfConfig":"59"},{"size":691,"mtime":1636098268347,"results":"66","hashOfConfig":"59"},{"size":188,"mtime":1611716826000,"results":"67","hashOfConfig":"59"},{"size":830,"mtime":1636106828433,"results":"68","hashOfConfig":"59"},{"size":2469,"mtime":1636098059145,"results":"69","hashOfConfig":"59"},{"size":2232,"mtime":1636110080418,"results":"70","hashOfConfig":"59"},{"size":1290,"mtime":1611716826000,"results":"71","hashOfConfig":"59"},{"size":943,"mtime":1611716826000,"results":"72","hashOfConfig":"59"},{"size":1445,"mtime":1636103288618,"results":"73","hashOfConfig":"59"},{"size":1384,"mtime":1636107416749,"results":"74","hashOfConfig":"59"},{"size":1565,"mtime":1636111589279,"results":"75","hashOfConfig":"59"},{"size":1138,"mtime":1636100981189,"results":"76","hashOfConfig":"59"},{"size":1226,"mtime":1635971249474,"results":"77","hashOfConfig":"59"},{"size":441,"mtime":1611716826000,"results":"78","hashOfConfig":"79"},{"size":1367,"mtime":1635970751914,"results":"80","hashOfConfig":"79"},{"size":1903,"mtime":1636283873266,"results":"81","hashOfConfig":"79"},{"size":1512,"mtime":1611716826000,"results":"82","hashOfConfig":"79"},{"size":909,"mtime":1636106811713,"results":"83","hashOfConfig":"79"},{"size":827,"mtime":1636106803260,"results":"84","hashOfConfig":"79"},{"size":824,"mtime":1636106785131,"results":"85","hashOfConfig":"79"},{"size":830,"mtime":1636106828433,"results":"86","hashOfConfig":"79"},{"size":691,"mtime":1636273457874,"results":"87","hashOfConfig":"79"},{"size":2469,"mtime":1636098059145,"results":"88","hashOfConfig":"79"},{"size":188,"mtime":1611716826000,"results":"89","hashOfConfig":"79"},{"size":1301,"mtime":1636282893191,"results":"90","hashOfConfig":"79"},{"size":1346,"mtime":1636283598022,"results":"91","hashOfConfig":"79"},{"size":2266,"mtime":1636282873390,"results":"92","hashOfConfig":"79"},{"size":943,"mtime":1611716826000,"results":"93","hashOfConfig":"79"},{"size":1771,"mtime":1636284506461,"results":"94","hashOfConfig":"79"},{"size":1404,"mtime":1636273527826,"results":"95","hashOfConfig":"79"},{"size":2148,"mtime":1636281814361,"results":"96","hashOfConfig":"79"},{"size":1021,"mtime":1636284038872,"results":"97","hashOfConfig":"79"},{"size":441,"mtime":1611716826000,"results":"98","hashOfConfig":"99"},{"size":1367,"mtime":1635970751914,"results":"100","hashOfConfig":"99"},{"size":1512,"mtime":1611716826000,"results":"101","hashOfConfig":"99"},{"size":1903,"mtime":1636283873266,"results":"102","hashOfConfig":"99"},{"size":909,"mtime":1636106811713,"results":"103","hashOfConfig":"99"},{"size":188,"mtime":1611716826000,"results":"104","hashOfConfig":"99"},{"size":691,"mtime":1636273457874,"results":"105","hashOfConfig":"99"},{"size":827,"mtime":1636106803260,"results":"106","hashOfConfig":"99"},{"size":824,"mtime":1636106785131,"results":"107","hashOfConfig":"99"},{"size":830,"mtime":1636106828433,"results":"108","hashOfConfig":"99"},{"size":2469,"mtime":1636098059145,"results":"109","hashOfConfig":"99"},{"size":1301,"mtime":1636282893191,"results":"110","hashOfConfig":"99"},{"size":1346,"mtime":1636283598022,"results":"111","hashOfConfig":"99"},{"size":2266,"mtime":1636282873390,"results":"112","hashOfConfig":"99"},{"size":943,"mtime":1611716826000,"results":"113","hashOfConfig":"99"},{"size":1771,"mtime":1636284506461,"results":"114","hashOfConfig":"99"},{"size":1404,"mtime":1636273527826,"results":"115","hashOfConfig":"99"},{"size":2148,"mtime":1636281814361,"results":"116","hashOfConfig":"99"},{"size":1021,"mtime":1636284038872,"results":"117","hashOfConfig":"99"},{"filePath":"118","messages":"119","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"120"},"w91aln",{"filePath":"121","messages":"122","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"120"},{"filePath":"123","messages":"124","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"125","usedDeprecatedRules":"120"},{"filePath":"126","messages":"127","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"120"},{"filePath":"128","messages":"129","errorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"130","messages":"131","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"132","messages":"133","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"134","messages":"135","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"136","messages":"137","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"120"},{"filePath":"138","messages":"139","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"140","messages":"141","errorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"142","messages":"143","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"144","messages":"145","errorCount":0,"warningCount":5,"fixableErrorCount":0,"fixableWarningCount":0,"source":"146","usedDeprecatedRules":"120"},{"filePath":"147","messages":"148","errorCount":0,"warningCount":3,"fixableErrorCount":0,"fixableWarningCount":0,"source":"149","usedDeprecatedRules":"120"},{"filePath":"150","messages":"151","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"152","messages":"153","errorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"154","messages":"155","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"156","messages":"157","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"158","messages":"159","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"120"},{"filePath":"160","messages":"161","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"162"},"1oiyd4c",{"filePath":"163","messages":"164","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"162"},{"filePath":"165","messages":"166","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"167","messages":"168","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"162"},{"filePath":"169","messages":"170","errorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":"171","usedDeprecatedRules":"162"},{"filePath":"172","messages":"173","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"174","usedDeprecatedRules":"162"},{"filePath":"175","messages":"176","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"177","usedDeprecatedRules":"162"},{"filePath":"178","messages":"179","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"180","usedDeprecatedRules":"162"},{"filePath":"181","messages":"182","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"183","messages":"184","errorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":"185","usedDeprecatedRules":"162"},{"filePath":"186","messages":"187","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"162"},{"filePath":"188","messages":"189","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"190","messages":"191","errorCount":0,"warningCount":5,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"192","messages":"193","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"194","messages":"195","errorCount":0,"warningCount":3,"fixableErrorCount":0,"fixableWarningCount":0,"source":"149","usedDeprecatedRules":"162"},{"filePath":"196","messages":"197","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"198","messages":"199","errorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"200","messages":"201","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"202","messages":"203","errorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"204","messages":"205","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"1dfr3y5",{"filePath":"206","messages":"207","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"208","messages":"209","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"210","messages":"211","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"212","messages":"213","errorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"214","messages":"215","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"216","messages":"217","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"218","messages":"219","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"220","messages":"221","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"222","messages":"223","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"224","messages":"225","errorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"226","messages":"227","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"228","messages":"229","errorCount":0,"warningCount":5,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"230","messages":"231","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"232","messages":"233","errorCount":0,"warningCount":3,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"234","messages":"235","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"236","messages":"237","errorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"238","messages":"239","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"240","messages":"241","errorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},"C:\\Users\\Acer\\Desktop\\eCommerce-React-main\\src\\index.js",[],["242","243"],"C:\\Users\\Acer\\Desktop\\eCommerce-React-main\\src\\Components\\App.js",[],"C:\\Users\\Acer\\Desktop\\eCommerce-React-main\\src\\Components\\Navbar.js",["244"],"import React, { useEffect } from 'react';\nimport { connect } from 'react-redux';\nimport { Link } from 'react-router-dom';\n\nimport '../css/Navbar.css';\nimport { getCartItems } from '../action';\n\n\nconst Navbar = (props) => {\n useEffect(() => {\n props.getCartItems();\n }, [])\n return (\n <div className=\"Navbar\">\n <div className=\"ui secondary pointing menu\">\n <Link to=\"/\" className=\"item\" >\n Home\n </Link>\n <Link to=\"/motherboard\" className=\"item\">\n Motherboard\n </Link>\n <Link to=\"/memory\" className=\"item\">\n Memory\n </Link>\n <Link to=\"/processor\" className=\"item\">\n Processor\n </Link>\n <Link to=\"/graphics-card\" className=\"item\">\n Graphics Card\n </Link>\n <Link to=\"/add\" className=\"item\">\n Add Item\n </Link>\n <div className=\"right menu temp\">\n <Link to=\"/cart\" className=\"item\">\n <i class=\"shopping cart large icon cartIcon\" ></i>\n </Link>\n <div className=\"circle\">{props.items.length}</div>\n <Link to=\"/sign-in\" className=\"ui item\">\n Sign In\n </Link>\n <Link to=\"/log-in\" className=\"ui item\">\n Log In\n </Link>\n </div>\n </div>\n </div>\n );\n}\n\nconst mapStateToProps = state => {\n // console.log(state.cartItems);\n return {\n items: state.cartItems,\n }\n}\n\nexport default connect(mapStateToProps, { getCartItems })(Navbar);","C:\\Users\\Acer\\Desktop\\eCommerce-React-main\\src\\reducers\\index.js",[],"C:\\Users\\Acer\\Desktop\\eCommerce-React-main\\src\\Components\\Motherboard.js",["245","246"],"C:\\Users\\Acer\\Desktop\\eCommerce-React-main\\src\\Components\\Memory.js",["247"],"C:\\Users\\Acer\\Desktop\\eCommerce-React-main\\src\\Components\\GraphicsCard.js",["248"],"C:\\Users\\Acer\\Desktop\\eCommerce-React-main\\src\\Components\\Cart.js",["249"],"C:\\Users\\Acer\\Desktop\\eCommerce-React-main\\src\\Components\\Home.js",[],"C:\\Users\\Acer\\Desktop\\eCommerce-React-main\\src\\Components\\Processor.js",["250"],"C:\\Users\\Acer\\Desktop\\eCommerce-React-main\\src\\Components\\AddProduct.js",["251","252"],"C:\\Users\\Acer\\Desktop\\eCommerce-React-main\\src\\Components\\SignIn.js",[],"C:\\Users\\Acer\\Desktop\\eCommerce-React-main\\src\\Components\\Footer.js",["253","254","255","256","257"],"import React from 'react';\n\nimport '../css/Footer.css';\nconst Footer = () => {\n return (\n <div className=\"Footer\">\n <img src=\"/images/shoplogo.jfif\" />\n <div className=\"mainInfo\">\n <div className=\"copyrightAndName\">\n <i class=\"copyright outline icon big\"></i>\n <span className=\"year\">2021 - </span>\n <img src=\"/images/myname.png\" />\n </div>\n <div className=\"icons\">\n {/* <i class=\"envelope icon huge\"></i> */}\n {/* <i class=\"facebook icon\"></i> */}\n <a href=\"https://www.facebook.com/ThePiyushSharan\" target=\"_blank\">\n <i class=\"facebook f icon huge\"></i>\n </a>\n <a href=\"https://github.com/pi-sharan\" target=\"_blank\">\n <i class=\"github icon huge\"></i>\n </a>\n {/* <i class=\"instagram icon huge\"></i> */}\n <a href=\"https://www.linkedin.com/in/piyush-sharan-16456645/\" target=\"_blank\">\n <i class=\"linkedin icon huge\"></i>\n </a>\n </div>\n </div>\n\n </div>\n );\n}\n\nexport default Footer;","C:\\Users\\Acer\\Desktop\\eCommerce-React-main\\src\\Components\\Carousel.js",["258","259","260"],"import React from 'react';\nimport \"react-responsive-carousel/lib/styles/carousel.min.css\"; // requires a loader\nimport { Carousel } from 'react-responsive-carousel';\n\nimport '../css/MyCarousel.css';\n\nconst MyCarousel = () => {\n\n return (\n <div className=\"myCarousel\">\n <Carousel autoPlay interval={4000}\n infiniteLoop={true}>\n <div>\n <img src=\"/images/Carousel/img1.jpg\" />\n {/* <p className=\"legend\">Legend 1</p> */}\n </div>\n <div>\n <img src=\"/images/Carousel/img2.jpg\" />\n {/* <p className=\"legend\">Legend 2</p> */}\n </div>\n <div>\n <img src=\"/images/Carousel/img3.jpg\" />\n {/* <p className=\"legend\">Legend 3</p> */}\n </div>\n </Carousel>\n </div>\n\n );\n\n}\n\nexport default MyCarousel;","C:\\Users\\Acer\\Desktop\\eCommerce-React-main\\src\\Components\\Item.js",[],"C:\\Users\\Acer\\Desktop\\eCommerce-React-main\\src\\Components\\CartItem.js",["261","262"],"C:\\Users\\Acer\\Desktop\\eCommerce-React-main\\src\\action\\index.js",[],"C:\\Users\\Acer\\Desktop\\eCommerce-React-main\\src\\Components\\AddSubItem.js",["263"],"C:\\Users\\Acer\\Desktop\\eCommerce-React-main\\src\\Components\\LogIn.js",[],"C:\\Users\\Acer\\Desktop\\eCommerce-React-main - Copy\\src\\index.js",[],["264","265"],"C:\\Users\\Acer\\Desktop\\eCommerce-React-main - Copy\\src\\Components\\App.js",[],"C:\\Users\\Acer\\Desktop\\eCommerce-React-main - Copy\\src\\Components\\Navbar.js",["266"],"C:\\Users\\Acer\\Desktop\\eCommerce-React-main - Copy\\src\\reducers\\index.js",[],"C:\\Users\\Acer\\Desktop\\eCommerce-React-main - Copy\\src\\Components\\Motherboard.js",["267","268"],"import React, { useEffect } from 'react';\nimport Item from './Item';\nimport '../css/Motherboard.css';\nimport { getProducts, getCartItems } from '../action';\nimport { connect } from 'react-redux';\nimport { render } from '@testing-library/react';\n\nconst Motherboard = (props) => {\n\n useEffect(() => {\n props.getProducts('Motherboard');\n }, []);\n\n const renderList = props.prodList.map(({ _id, img, price, title }) => {\n return <Item id={_id} title={title} src={img} price={price} />;\n })\n\n\n return (\n <div className=\"ItemContainer\">\n <div className=\"ItemGrid\">\n {renderList}\n {/* {console.dir(renderList)} */}\n\n </div>\n </div>\n );\n}\n\nconst mapStateToProps = state => {\n return ({\n prodList: state.prodList,\n })\n}\n\n\nexport default connect(mapStateToProps, { getProducts, getCartItems })(Motherboard);\n","C:\\Users\\Acer\\Desktop\\eCommerce-React-main - Copy\\src\\Components\\Memory.js",["269"],"import React, { useEffect } from 'react';\nimport Item from './Item';\nimport '../css/Motherboard.css';\nimport { getProducts } from '../action';\nimport { connect } from 'react-redux';\n\nconst Motherboard = (props) => {\n\n useEffect(() => {\n props.getProducts('Memory');\n }, []);\n\n const renderList = props.prodList.map(({ _id, img, price, title }) => {\n return <Item id={_id} title={title} src={img} price={price} />;\n })\n\n\n return (\n <div className=\"ItemContainer\">\n <div className=\"ItemGrid\">\n {renderList}\n {/* {console.dir(renderList)} */}\n\n </div>\n </div>\n );\n}\n\nconst mapStateToProps = state => {\n return ({\n prodList: state.prodList,\n })\n}\n\n\nexport default connect(mapStateToProps, { getProducts })(Motherboard);\n","C:\\Users\\Acer\\Desktop\\eCommerce-React-main - Copy\\src\\Components\\GraphicsCard.js",["270"],"import React, { useEffect } from 'react';\nimport Item from './Item';\nimport '../css/Motherboard.css';\nimport { getProducts } from '../action';\nimport { connect } from 'react-redux';\n\nconst Motherboard = (props) => {\n\n useEffect(() => {\n props.getProducts('GPU');\n }, []);\n\n const renderList = props.prodList.map(({ _id, img, price, title }) => {\n return <Item id={_id} title={title} src={img} price={price} />;\n })\n\n\n return (\n <div className=\"ItemContainer\">\n <div className=\"ItemGrid\">\n {renderList}\n {/* {console.dir(renderList)} */}\n\n </div>\n </div>\n );\n}\n\nconst mapStateToProps = state => {\n return ({\n prodList: state.prodList,\n })\n}\n\n\nexport default connect(mapStateToProps, { getProducts })(Motherboard);\n","C:\\Users\\Acer\\Desktop\\eCommerce-React-main - Copy\\src\\Components\\Processor.js",["271"],"import React, { useEffect } from 'react';\nimport Item from './Item';\nimport '../css/Motherboard.css';\nimport { getProducts } from '../action';\nimport { connect } from 'react-redux';\n\nconst Motherboard = (props) => {\n\n useEffect(() => {\n props.getProducts('Processor');\n }, []);\n\n const renderList = props.prodList.map(({ _id, img, price, title }) => {\n return <Item id={_id} title={title} src={img} price={price} />;\n })\n\n\n return (\n <div className=\"ItemContainer\">\n <div className=\"ItemGrid\">\n {renderList}\n {/* {console.dir(renderList)} */}\n\n </div>\n </div>\n );\n}\n\nconst mapStateToProps = state => {\n return ({\n prodList: state.prodList,\n })\n}\n\n\nexport default connect(mapStateToProps, { getProducts })(Motherboard);\n","C:\\Users\\Acer\\Desktop\\eCommerce-React-main - Copy\\src\\Components\\Cart.js",["272"],"C:\\Users\\Acer\\Desktop\\eCommerce-React-main - Copy\\src\\Components\\AddProduct.js",["273","274"],"import React, { useState, useEffect } from 'react';\nimport axios from 'axios';\n\nimport '../css/AddProduct.css';\n\nconst AddProduct = (props) => {\n const [Id, setId] = useState('');\n const [Title, setTitle] = useState('');\n const [Price, setPrice] = useState('');\n const [Type, setType] = useState('');\n const [Desc, setDesc] = useState('');\n const [Img, setImg] = useState('');\n\n const saveToDB = async (event) => {\n console.log('AddProduct');\n event.preventDefault();\n const response = await axios.post(\"http://localhost:5000/add-product\", {}, {\n headers: {\n dbType: 'Product',\n id: Id,\n title: Title,\n price: Price,\n img: Img,\n type: Type,\n }\n });\n // console.log(response);\n setId('');\n setTitle('');\n setPrice('');\n setType('');\n setDesc('');\n setImg('');\n }\n\n\n return (\n <div className=\"mainContainer\">\n <form class=\"ui form\">\n <div class=\"field\">\n <label>Product Name</label>\n <input type=\"text\" name=\"Product-Name\" value={Title} placeholder=\"Product Name\" onChange={e => setTitle(e.target.value)} />\n </div>\n <div class=\"field\">\n <label>Product Description</label>\n <input type=\"text\" name=\"product-desc\" value={Desc} placeholder=\"Product Description\" onChange={e => setDesc(e.target.value)} />\n </div>\n <div class=\"field\">\n <label>Type</label>\n <input type=\"text\" name=\"type\" value={Type} placeholder=\"Motherboard, Processor, etc.\" onChange={e => setType(e.target.value)} />\n </div>\n <div class=\"field\">\n <label>Price</label>\n <input type=\"text\" name=\"price\" value={Price} placeholder=\"Price in Rupees\" onChange={e => setPrice(e.target.value)} />\n </div>\n <div class=\"field\">\n <label>Image</label>\n <input type=\"text\" name=\"image\" value={Img} placeholder=\"Location of image\" onChange={e => setImg(e.target.value)} />\n </div>\n\n <button class=\"ui button\" type=\"submit\" onClick={saveToDB}>Submit</button>\n </form>\n </div>\n );\n}\n\nexport default AddProduct;","C:\\Users\\Acer\\Desktop\\eCommerce-React-main - Copy\\src\\Components\\Home.js",[],"C:\\Users\\Acer\\Desktop\\eCommerce-React-main - Copy\\src\\Components\\LogIn.js",[],"C:\\Users\\Acer\\Desktop\\eCommerce-React-main - Copy\\src\\Components\\Footer.js",["275","276","277","278","279"],"C:\\Users\\Acer\\Desktop\\eCommerce-React-main - Copy\\src\\Components\\SignIn.js",[],"C:\\Users\\Acer\\Desktop\\eCommerce-React-main - Copy\\src\\Components\\Carousel.js",["280","281","282"],"C:\\Users\\Acer\\Desktop\\eCommerce-React-main - Copy\\src\\Components\\Item.js",[],"C:\\Users\\Acer\\Desktop\\eCommerce-React-main - Copy\\src\\Components\\CartItem.js",["283","284"],"C:\\Users\\Acer\\Desktop\\eCommerce-React-main - Copy\\src\\action\\index.js",[],"C:\\Users\\Acer\\Desktop\\eCommerce-React-main - Copy\\src\\Components\\AddSubItem.js",["285","286"],"E:\\csoc\\eCommerce-React\\src\\index.js",[],"E:\\csoc\\eCommerce-React\\src\\Components\\App.js",[],"E:\\csoc\\eCommerce-React\\src\\reducers\\index.js",[],"E:\\csoc\\eCommerce-React\\src\\Components\\Navbar.js",["287"],"E:\\csoc\\eCommerce-React\\src\\Components\\Motherboard.js",["288","289"],"E:\\csoc\\eCommerce-React\\src\\Components\\Home.js",[],"E:\\csoc\\eCommerce-React\\src\\Components\\Cart.js",["290"],"E:\\csoc\\eCommerce-React\\src\\Components\\Memory.js",["291"],"E:\\csoc\\eCommerce-React\\src\\Components\\GraphicsCard.js",["292"],"E:\\csoc\\eCommerce-React\\src\\Components\\Processor.js",["293"],"E:\\csoc\\eCommerce-React\\src\\Components\\AddProduct.js",["294","295"],"E:\\csoc\\eCommerce-React\\src\\Components\\LogIn.js",[],"E:\\csoc\\eCommerce-React\\src\\Components\\Footer.js",["296","297","298","299","300"],"E:\\csoc\\eCommerce-React\\src\\Components\\SignIn.js",[],"E:\\csoc\\eCommerce-React\\src\\Components\\Carousel.js",["301","302","303"],"E:\\csoc\\eCommerce-React\\src\\Components\\Item.js",[],"E:\\csoc\\eCommerce-React\\src\\Components\\CartItem.js",["304","305"],"E:\\csoc\\eCommerce-React\\src\\action\\index.js",[],"E:\\csoc\\eCommerce-React\\src\\Components\\AddSubItem.js",["306","307"],{"ruleId":"308","replacedBy":"309"},{"ruleId":"310","replacedBy":"311"},{"ruleId":"312","severity":1,"message":"313","line":12,"column":8,"nodeType":"314","endLine":12,"endColumn":10,"suggestions":"315"},{"ruleId":"316","severity":1,"message":"317","line":6,"column":10,"nodeType":"318","messageId":"319","endLine":6,"endColumn":16},{"ruleId":"312","severity":1,"message":"313","line":12,"column":8,"nodeType":"314","endLine":12,"endColumn":10,"suggestions":"320"},{"ruleId":"312","severity":1,"message":"313","line":11,"column":8,"nodeType":"314","endLine":11,"endColumn":10,"suggestions":"321"},{"ruleId":"312","severity":1,"message":"313","line":11,"column":8,"nodeType":"314","endLine":11,"endColumn":10,"suggestions":"322"},{"ruleId":"312","severity":1,"message":"313","line":13,"column":8,"nodeType":"314","endLine":13,"endColumn":10,"suggestions":"323"},{"ruleId":"312","severity":1,"message":"313","line":11,"column":8,"nodeType":"314","endLine":11,"endColumn":10,"suggestions":"324"},{"ruleId":"316","severity":1,"message":"325","line":1,"column":27,"nodeType":"318","messageId":"319","endLine":1,"endColumn":36},{"ruleId":"316","severity":1,"message":"326","line":17,"column":15,"nodeType":"318","messageId":"319","endLine":17,"endColumn":23},{"ruleId":"327","severity":1,"message":"328","line":7,"column":13,"nodeType":"329","endLine":7,"endColumn":48},{"ruleId":"327","severity":1,"message":"328","line":12,"column":21,"nodeType":"329","endLine":12,"endColumn":53},{"ruleId":"330","severity":1,"message":"331","line":17,"column":21,"nodeType":"329","endLine":17,"endColumn":88},{"ruleId":"330","severity":1,"message":"331","line":20,"column":21,"nodeType":"329","endLine":20,"endColumn":76},{"ruleId":"330","severity":1,"message":"331","line":24,"column":21,"nodeType":"329","endLine":24,"endColumn":99},{"ruleId":"327","severity":1,"message":"328","line":14,"column":21,"nodeType":"329","endLine":14,"endColumn":60},{"ruleId":"327","severity":1,"message":"328","line":18,"column":21,"nodeType":"329","endLine":18,"endColumn":60},{"ruleId":"327","severity":1,"message":"328","line":22,"column":21,"nodeType":"329","endLine":22,"endColumn":60},{"ruleId":"316","severity":1,"message":"325","line":1,"column":17,"nodeType":"318","messageId":"319","endLine":1,"endColumn":26},{"ruleId":"327","severity":1,"message":"328","line":21,"column":17,"nodeType":"329","endLine":21,"endColumn":44},{"ruleId":"316","severity":1,"message":"332","line":3,"column":28,"nodeType":"318","messageId":"319","endLine":3,"endColumn":39},{"ruleId":"308","replacedBy":"333"},{"ruleId":"310","replacedBy":"334"},{"ruleId":"312","severity":1,"message":"313","line":13,"column":6,"nodeType":"314","endLine":13,"endColumn":8,"suggestions":"335"},{"ruleId":"316","severity":1,"message":"317","line":6,"column":10,"nodeType":"318","messageId":"319","endLine":6,"endColumn":16},{"ruleId":"312","severity":1,"message":"313","line":12,"column":8,"nodeType":"314","endLine":12,"endColumn":10,"suggestions":"336"},{"ruleId":"312","severity":1,"message":"313","line":11,"column":8,"nodeType":"314","endLine":11,"endColumn":10,"suggestions":"337"},{"ruleId":"312","severity":1,"message":"313","line":11,"column":8,"nodeType":"314","endLine":11,"endColumn":10,"suggestions":"338"},{"ruleId":"312","severity":1,"message":"313","line":11,"column":8,"nodeType":"314","endLine":11,"endColumn":10,"suggestions":"339"},{"ruleId":"312","severity":1,"message":"313","line":13,"column":8,"nodeType":"314","endLine":13,"endColumn":10,"suggestions":"340"},{"ruleId":"316","severity":1,"message":"325","line":1,"column":27,"nodeType":"318","messageId":"319","endLine":1,"endColumn":36},{"ruleId":"316","severity":1,"message":"326","line":17,"column":15,"nodeType":"318","messageId":"319","endLine":17,"endColumn":23},{"ruleId":"327","severity":1,"message":"328","line":7,"column":13,"nodeType":"329","endLine":7,"endColumn":48},{"ruleId":"327","severity":1,"message":"328","line":12,"column":21,"nodeType":"329","endLine":12,"endColumn":53},{"ruleId":"330","severity":1,"message":"331","line":18,"column":21,"nodeType":"329","endLine":18,"endColumn":88},{"ruleId":"330","severity":1,"message":"331","line":21,"column":21,"nodeType":"329","endLine":21,"endColumn":76},{"ruleId":"330","severity":1,"message":"331","line":25,"column":21,"nodeType":"329","endLine":25,"endColumn":99},{"ruleId":"327","severity":1,"message":"328","line":14,"column":21,"nodeType":"329","endLine":14,"endColumn":60},{"ruleId":"327","severity":1,"message":"328","line":18,"column":21,"nodeType":"329","endLine":18,"endColumn":60},{"ruleId":"327","severity":1,"message":"328","line":22,"column":21,"nodeType":"329","endLine":22,"endColumn":60},{"ruleId":"316","severity":1,"message":"325","line":1,"column":17,"nodeType":"318","messageId":"319","endLine":1,"endColumn":26},{"ruleId":"327","severity":1,"message":"328","line":21,"column":17,"nodeType":"329","endLine":21,"endColumn":49},{"ruleId":"316","severity":1,"message":"341","line":1,"column":17,"nodeType":"318","messageId":"319","endLine":1,"endColumn":25},{"ruleId":"316","severity":1,"message":"332","line":3,"column":28,"nodeType":"318","messageId":"319","endLine":3,"endColumn":39},{"ruleId":"312","severity":1,"message":"313","line":13,"column":6,"nodeType":"314","endLine":13,"endColumn":8,"suggestions":"342"},{"ruleId":"316","severity":1,"message":"317","line":6,"column":10,"nodeType":"318","messageId":"319","endLine":6,"endColumn":16},{"ruleId":"312","severity":1,"message":"313","line":12,"column":8,"nodeType":"314","endLine":12,"endColumn":10,"suggestions":"343"},{"ruleId":"312","severity":1,"message":"313","line":13,"column":8,"nodeType":"314","endLine":13,"endColumn":10,"suggestions":"344"},{"ruleId":"312","severity":1,"message":"313","line":11,"column":8,"nodeType":"314","endLine":11,"endColumn":10,"suggestions":"345"},{"ruleId":"312","severity":1,"message":"313","line":11,"column":8,"nodeType":"314","endLine":11,"endColumn":10,"suggestions":"346"},{"ruleId":"312","severity":1,"message":"313","line":11,"column":8,"nodeType":"314","endLine":11,"endColumn":10,"suggestions":"347"},{"ruleId":"316","severity":1,"message":"325","line":1,"column":27,"nodeType":"318","messageId":"319","endLine":1,"endColumn":36},{"ruleId":"316","severity":1,"message":"326","line":17,"column":15,"nodeType":"318","messageId":"319","endLine":17,"endColumn":23},{"ruleId":"327","severity":1,"message":"328","line":7,"column":13,"nodeType":"329","endLine":7,"endColumn":48},{"ruleId":"327","severity":1,"message":"328","line":12,"column":21,"nodeType":"329","endLine":12,"endColumn":53},{"ruleId":"330","severity":1,"message":"331","line":18,"column":21,"nodeType":"329","endLine":18,"endColumn":88},{"ruleId":"330","severity":1,"message":"331","line":21,"column":21,"nodeType":"329","endLine":21,"endColumn":76},{"ruleId":"330","severity":1,"message":"331","line":25,"column":21,"nodeType":"329","endLine":25,"endColumn":99},{"ruleId":"327","severity":1,"message":"328","line":14,"column":21,"nodeType":"329","endLine":14,"endColumn":60},{"ruleId":"327","severity":1,"message":"328","line":18,"column":21,"nodeType":"329","endLine":18,"endColumn":60},{"ruleId":"327","severity":1,"message":"328","line":22,"column":21,"nodeType":"329","endLine":22,"endColumn":60},{"ruleId":"316","severity":1,"message":"325","line":1,"column":17,"nodeType":"318","messageId":"319","endLine":1,"endColumn":26},{"ruleId":"327","severity":1,"message":"328","line":21,"column":17,"nodeType":"329","endLine":21,"endColumn":49},{"ruleId":"316","severity":1,"message":"341","line":1,"column":17,"nodeType":"318","messageId":"319","endLine":1,"endColumn":25},{"ruleId":"316","severity":1,"message":"332","line":3,"column":28,"nodeType":"318","messageId":"319","endLine":3,"endColumn":39},"no-native-reassign",["348"],"no-negated-in-lhs",["349"],"react-hooks/exhaustive-deps","React Hook useEffect has a missing dependency: 'props'. Either include it or remove the dependency array. However, 'props' will change when *any* prop changes, so the preferred fix is to destructure the 'props' object outside of the useEffect call and refer to those specific props inside useEffect.","ArrayExpression",["350"],"no-unused-vars","'render' is defined but never used.","Identifier","unusedVar",["351"],["352"],["353"],["354"],["355"],"'useEffect' is defined but never used.","'response' is assigned a value but never used.","jsx-a11y/alt-text","img elements must have an alt prop, either with meaningful text, or an empty string for decorative images.","JSXOpeningElement","react/jsx-no-target-blank","Using target=\"_blank\" without rel=\"noreferrer\" is a security risk: see https://html.spec.whatwg.org/multipage/links.html#link-type-noopener","'getProducts' is defined but never used.",["348"],["349"],["356"],["357"],["358"],["359"],["360"],["361"],"'useState' is defined but never used.",["362"],["363"],["364"],["365"],["366"],["367"],"no-global-assign","no-unsafe-negation",{"desc":"368","fix":"369"},{"desc":"368","fix":"370"},{"desc":"368","fix":"371"},{"desc":"368","fix":"372"},{"desc":"368","fix":"373"},{"desc":"368","fix":"374"},{"desc":"368","fix":"375"},{"desc":"368","fix":"376"},{"desc":"368","fix":"377"},{"desc":"368","fix":"378"},{"desc":"368","fix":"379"},{"desc":"368","fix":"380"},{"desc":"368","fix":"381"},{"desc":"368","fix":"382"},{"desc":"368","fix":"383"},{"desc":"368","fix":"384"},{"desc":"368","fix":"385"},{"desc":"368","fix":"386"},"Update the dependencies array to be: [props]",{"range":"387","text":"388"},{"range":"389","text":"388"},{"range":"390","text":"388"},{"range":"391","text":"388"},{"range":"392","text":"388"},{"range":"393","text":"388"},{"range":"394","text":"388"},{"range":"395","text":"388"},{"range":"396","text":"388"},{"range":"397","text":"388"},{"range":"398","text":"388"},{"range":"399","text":"388"},{"range":"400","text":"388"},{"range":"401","text":"388"},{"range":"402","text":"388"},{"range":"403","text":"388"},{"range":"404","text":"388"},{"range":"405","text":"388"},[282,284],"[props]",[351,353],[283,285],[280,282],[285,287],[286,288],[352,354],[351,353],[283,285],[280,282],[286,288],[285,287],[352,354],[351,353],[285,287],[283,285],[280,282],[286,288]]