-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintcache
1 lines (1 loc) · 14.3 KB
/
.eslintcache
1
[{"/Users/innovativecoder/Desktop/Web Design and Development/hackingunleashed/hackingunleashed-landingpage/src/index.js":"1","/Users/innovativecoder/Desktop/Web Design and Development/hackingunleashed/hackingunleashed-landingpage/src/reportWebVitals.js":"2","/Users/innovativecoder/Desktop/Web Design and Development/hackingunleashed/hackingunleashed-landingpage/src/App.js":"3","/Users/innovativecoder/Desktop/Web Design and Development/hackingunleashed/hackingunleashed-landingpage/src/components/Homepage/index.js":"4","/Users/innovativecoder/Desktop/Web Design and Development/hackingunleashed/hackingunleashed-landingpage/src/components/Checkout/index.js":"5","/Users/innovativecoder/Desktop/Web Design and Development/hackingunleashed/hackingunleashed-landingpage/src/components/Homepage/HeroRight/index.js":"6","/Users/innovativecoder/Desktop/Web Design and Development/hackingunleashed/hackingunleashed-landingpage/src/components/UserContext/UserContext.js":"7","/Users/innovativecoder/Desktop/Web Design and Development/hackingunleashed/hackingunleashed-landingpage/src/components/NewletterModal/index.js":"8","/Users/innovativecoder/Desktop/Web Design and Development/hackingunleashed/hackingunleashed-landingpage/src/components/CTA.js":"9","/Users/innovativecoder/Desktop/Web Design and Development/hackingunleashed/hackingunleashed-landingpage/src/components/Info.js":"10","/Users/innovativecoder/Desktop/Web Design and Development/hackingunleashed/hackingunleashed-landingpage/src/components/FAQ.js":"11","/Users/innovativecoder/Desktop/Web Design and Development/hackingunleashed/hackingunleashed-landingpage/src/components/Banner.js":"12","/Users/innovativecoder/Desktop/Web Design and Development/optimized_search/src/index.js":"13","/Users/innovativecoder/Desktop/Web Design and Development/optimized_search/src/reportWebVitals.js":"14","/Users/innovativecoder/Desktop/Web Design and Development/optimized_search/src/App.js":"15","/Users/innovativecoder/Desktop/Web Design and Development/optimized_search/src/components/Search.js":"16","/Users/innovativecoder/Desktop/Web Design and Development/optimized_search/src/components/DisplayRecommendations.js":"17"},{"size":500,"mtime":1611494100780,"results":"18","hashOfConfig":"19"},{"size":362,"mtime":1611494100786,"results":"20","hashOfConfig":"19"},{"size":708,"mtime":1611694176093,"results":"21","hashOfConfig":"19"},{"size":3990,"mtime":1613167374012,"results":"22","hashOfConfig":"19"},{"size":5333,"mtime":1611675496440,"results":"23","hashOfConfig":"19"},{"size":2054,"mtime":1613167317213,"results":"24","hashOfConfig":"19"},{"size":86,"mtime":1611670374828,"results":"25","hashOfConfig":"19"},{"size":5307,"mtime":1613150655435,"results":"26","hashOfConfig":"19"},{"size":1595,"mtime":1613142384999,"results":"27","hashOfConfig":"19"},{"size":6760,"mtime":1613145027529,"results":"28","hashOfConfig":"19"},{"size":1827,"mtime":1613167428124,"results":"29","hashOfConfig":"19"},{"size":3050,"mtime":1613154523167,"results":"30","hashOfConfig":"19"},{"size":500,"mtime":1611494100780,"results":"31","hashOfConfig":"32"},{"size":362,"mtime":1611494100786,"results":"33","hashOfConfig":"32"},{"size":178,"mtime":1613473966388,"results":"34","hashOfConfig":"32"},{"size":1725,"mtime":1613491619751,"results":"35","hashOfConfig":"32"},{"size":5639,"mtime":1613693522782,"results":"36","hashOfConfig":"32"},{"filePath":"37","messages":"38","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"39"},"1647nmf",{"filePath":"40","messages":"41","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"39"},{"filePath":"42","messages":"43","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"39"},{"filePath":"44","messages":"45","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"46","messages":"47","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"48","usedDeprecatedRules":"39"},{"filePath":"49","messages":"50","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"51","messages":"52","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"39"},{"filePath":"53","messages":"54","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"55","messages":"56","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"39"},{"filePath":"57","messages":"58","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"39"},{"filePath":"59","messages":"60","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"61","messages":"62","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"39"},{"filePath":"63","messages":"64","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"65"},"1cqx830",{"filePath":"66","messages":"67","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"65"},{"filePath":"68","messages":"69","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"65"},{"filePath":"70","messages":"71","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"65"},{"filePath":"72","messages":"73","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"/Users/innovativecoder/Desktop/Web Design and Development/hackingunleashed/hackingunleashed-landingpage/src/index.js",[],["74","75"],"/Users/innovativecoder/Desktop/Web Design and Development/hackingunleashed/hackingunleashed-landingpage/src/reportWebVitals.js",[],"/Users/innovativecoder/Desktop/Web Design and Development/hackingunleashed/hackingunleashed-landingpage/src/App.js",[],"/Users/innovativecoder/Desktop/Web Design and Development/hackingunleashed/hackingunleashed-landingpage/src/components/Homepage/index.js",["76"],"/Users/innovativecoder/Desktop/Web Design and Development/hackingunleashed/hackingunleashed-landingpage/src/components/Checkout/index.js",["77"],"import React, { useContext, useEffect, useState } from 'react';\nimport Modal from 'react-modal';\nimport { UserContext } from \"../UserContext/UserContext\";\n\nexport default function Index() {\n const [modalIsOpen,setIsOpen] = useState(false);\n const[user, setUser] = useContext(UserContext)\n const [priceList, setPriceList] = useState({\n bp:\"loading ...\",\n gst:\"loading ...\",\n total:\"loading ...\"\n })\n const [country, setCountry] = useState()\n const countryPriceList = {\n India: {\n bp: \"INR 299\",\n gst: \"INR 54\",\n total:\"INR 353\"\n },\n USA: {\n bp: \"$11.95\",\n gst: \"$2.15\",\n total:\"$14.10\"\n }\n }\n const customStyles = {\n content : {\n top : '50%',\n left : '50%',\n right : 'auto',\n bottom : 'auto',\n marginRight : '-50%',\n color : \"black\",\n transform : 'translate(-50%, -50%)'\n }\n };\n \n function openModal() {\n setIsOpen(true);\n }\n var subtitle;\n function afterOpenModal() {\n // references are now sync'd and can be accessed.\n subtitle.style.color = '#000';\n } \n function closeModal(){\n setIsOpen(false);\n }\n\n useEffect(()=>{\n if(user.countryName===\"India\"){\n setPriceList(countryPriceList.India)\n setCountry(\"India\")\n }else{\n setPriceList(countryPriceList.USA)\n }\n setUser({...user, isVisited: true})\n },[])\n\n return (\n <>\n <div className=\"m-5\">\n <h1 className=\"underline text-3xl text-center\">\n Checkout\n </h1>\n {\n console.log(priceList)\n }\n <div className=\"mt-5 text-center\">\n <p>Base Price: {priceList.bp}</p>\n <p>GST (18%): {priceList.gst}</p>\n <p className=\"mt-3\">Total Price: {priceList.total}</p>\n </div>\n {\n country===\"India\"?(\n <div className=\"m-auto mt-10 flex place-self-center\">\n <a href=\"https://rzp.io/l/SLmFXYURL\" className=\"m-auto\">\n <button className=\"w-30 bg-white text-gray-800 px-10 py-3 rounded\">\n Pay with Razorpay\n </button>\n </a>\n </div>\n ):(\n <div className=\"m-auto mt-10 flex place-self-center\">\n <button onClick={openModal} className=\"w-30 m-auto bg-white text-gray-800 px-10 py-3 rounded\">\n Pay with Paypal\n </button>\n <Modal\n isOpen={modalIsOpen}\n onAfterOpen={afterOpenModal}\n onRequestClose={closeModal}\n style={customStyles}\n contentLabel=\"Paypal\"\n >\n \n <h2 className=\"font-bold\" ref={_subtitle => (subtitle = _subtitle)}>Paypal</h2>\n <script\n src=\"https://www.paypal.com/sdk/js?client-id=sb¤cy=USD\"\n data-sdk-integration-source=\"button-factory\"\n ></script>\n <script\n src=\"https://www.paypal.com/sdk/js?client-id=sb¤cy=USD\"\n data-sdk-integration-source=\"button-factory\"\n ></script>\n <form\n action=\"https://www.paypal.com/cgi-bin/webscr\"\n method=\"post\"\n target=\"_top\"\n >\n <input type=\"hidden\" name=\"cmd\" value=\"_s-xclick\" />\n <input type=\"hidden\" name=\"hosted_button_id\" value=\"8HAE3VABSC5XQ\" />\n <table>\n <tr>\n <td>\n <input\n type=\"hidden\"\n name=\"on0\"\n value=\"Where did you get reference?\"\n />Where did you get reference?\n </td>\n </tr>\n <tr>\n <td><input type=\"text\" name=\"os0\" maxlength=\"200\" style={{border:`2px solid grey`}} /></td>\n </tr>\n </table>\n <input\n type=\"image\"\n src=\"https://www.paypalobjects.com/en_GB/i/btn/btn_buynowCC_LG.gif\"\n border=\"0\"\n name=\"submit\"\n alt=\"PayPal – The safer, easier way to pay online!\"\n />\n <img\n alt=\"\"\n border=\"0\"\n src=\"https://www.paypalobjects.com/en_GB/i/scr/pixel.gif\"\n width=\"1\"\n height=\"1\"\n />\n </form>\n </Modal>\n </div>\n )\n } \n </div>\n </>\n )\n}\n","/Users/innovativecoder/Desktop/Web Design and Development/hackingunleashed/hackingunleashed-landingpage/src/components/Homepage/HeroRight/index.js",[],"/Users/innovativecoder/Desktop/Web Design and Development/hackingunleashed/hackingunleashed-landingpage/src/components/UserContext/UserContext.js",[],"/Users/innovativecoder/Desktop/Web Design and Development/hackingunleashed/hackingunleashed-landingpage/src/components/NewletterModal/index.js",[],"/Users/innovativecoder/Desktop/Web Design and Development/hackingunleashed/hackingunleashed-landingpage/src/components/CTA.js",[],"/Users/innovativecoder/Desktop/Web Design and Development/hackingunleashed/hackingunleashed-landingpage/src/components/Info.js",[],"/Users/innovativecoder/Desktop/Web Design and Development/hackingunleashed/hackingunleashed-landingpage/src/components/FAQ.js",[],"/Users/innovativecoder/Desktop/Web Design and Development/hackingunleashed/hackingunleashed-landingpage/src/components/Banner.js",[],"/Users/innovativecoder/Desktop/Web Design and Development/optimized_search/src/index.js",[],["78","79"],"/Users/innovativecoder/Desktop/Web Design and Development/optimized_search/src/reportWebVitals.js",[],"/Users/innovativecoder/Desktop/Web Design and Development/optimized_search/src/App.js",[],"/Users/innovativecoder/Desktop/Web Design and Development/optimized_search/src/components/Search.js",[],"/Users/innovativecoder/Desktop/Web Design and Development/optimized_search/src/components/DisplayRecommendations.js",[],{"ruleId":"80","replacedBy":"81"},{"ruleId":"82","replacedBy":"83"},{"ruleId":"84","severity":1,"message":"85","line":33,"column":7,"nodeType":"86","endLine":33,"endColumn":9,"suggestions":"87"},{"ruleId":"84","severity":1,"message":"88","line":58,"column":7,"nodeType":"86","endLine":58,"endColumn":9,"suggestions":"89"},{"ruleId":"80","replacedBy":"90"},{"ruleId":"82","replacedBy":"91"},"no-native-reassign",["92"],"no-negated-in-lhs",["93"],"react-hooks/exhaustive-deps","React Hook useEffect has a missing dependency: 'getGeoInfo'. Either include it or remove the dependency array.","ArrayExpression",["94"],"React Hook useEffect has missing dependencies: 'countryPriceList.India', 'countryPriceList.USA', 'setUser', and 'user'. Either include them or remove the dependency array.",["95"],["92"],["93"],"no-global-assign","no-unsafe-negation",{"desc":"96","fix":"97"},{"desc":"98","fix":"99"},"Update the dependencies array to be: [getGeoInfo]",{"range":"100","text":"101"},"Update the dependencies array to be: [countryPriceList.India, countryPriceList.USA, setUser, user]",{"range":"102","text":"103"},[1017,1019],"[getGeoInfo]",[1645,1647],"[countryPriceList.India, countryPriceList.USA, setUser, user]"]