redbean096@khu.ac.kr

delete unecessary code and module

[{"/home/ubuntu/Jaksimsamil/jaksimsamil-page/src/index.js":"1","/home/ubuntu/Jaksimsamil/jaksimsamil-page/src/serviceWorker.js":"2","/home/ubuntu/Jaksimsamil/jaksimsamil-page/src/App.js":"3","/home/ubuntu/Jaksimsamil/jaksimsamil-page/src/modules/user.js":"4","/home/ubuntu/Jaksimsamil/jaksimsamil-page/src/modules/index.js":"5","/home/ubuntu/Jaksimsamil/jaksimsamil-page/src/pages/SettingPage.js":"6","/home/ubuntu/Jaksimsamil/jaksimsamil-page/src/pages/HomePage.js":"7","/home/ubuntu/Jaksimsamil/jaksimsamil-page/src/pages/RegisterPage.js":"8","/home/ubuntu/Jaksimsamil/jaksimsamil-page/src/pages/LoginPage.js":"9","/home/ubuntu/Jaksimsamil/jaksimsamil-page/src/lib/api/auth.js":"10","/home/ubuntu/Jaksimsamil/jaksimsamil-page/src/lib/createRequestSaga.js":"11","/home/ubuntu/Jaksimsamil/jaksimsamil-page/src/modules/auth.js":"12","/home/ubuntu/Jaksimsamil/jaksimsamil-page/src/modules/loading.js":"13","/home/ubuntu/Jaksimsamil/jaksimsamil-page/src/modules/profile.js":"14","/home/ubuntu/Jaksimsamil/jaksimsamil-page/src/lib/api/client.js":"15","/home/ubuntu/Jaksimsamil/jaksimsamil-page/src/containers/home/HomeContainer.js":"16","/home/ubuntu/Jaksimsamil/jaksimsamil-page/src/containers/auth/LoginForm.js":"17","/home/ubuntu/Jaksimsamil/jaksimsamil-page/src/containers/setting/SettingContainer.js":"18","/home/ubuntu/Jaksimsamil/jaksimsamil-page/src/containers/common/HeaderContainer.js":"19","/home/ubuntu/Jaksimsamil/jaksimsamil-page/src/containers/auth/RegisterForm.js":"20","/home/ubuntu/Jaksimsamil/jaksimsamil-page/src/components/auth/AuthTemplate.js":"21","/home/ubuntu/Jaksimsamil/jaksimsamil-page/src/lib/api/profile.js":"22","/home/ubuntu/Jaksimsamil/jaksimsamil-page/src/components/auth/AuthForm.js":"23","/home/ubuntu/Jaksimsamil/jaksimsamil-page/src/components/home/HomeForm.js":"24","/home/ubuntu/Jaksimsamil/jaksimsamil-page/src/components/common/Header.js":"25","/home/ubuntu/Jaksimsamil/jaksimsamil-page/src/components/setting/SettingForm.js":"26","/home/ubuntu/Jaksimsamil/jaksimsamil-page/src/lib/styles/palette.js":"27","/home/ubuntu/Jaksimsamil/jaksimsamil-page/src/components/common/Button.js":"28","/home/ubuntu/Jaksimsamil/jaksimsamil-page/src/components/setting/SlackForm.js":"29","/home/ubuntu/Jaksimsamil/jaksimsamil-page/src/components/setting/GoalNumForm.js":"30","/home/ubuntu/Jaksimsamil/jaksimsamil-page/src/components/setting/KakaoLogin.js":"31","/home/ubuntu/Jaksimsamil/jaksimsamil-page/src/components/setting/BJIDForm.js":"32","/home/ubuntu/Jaksimsamil/jaksimsamil-page/src/components/common/Categories.js":"33","/home/ubuntu/Jaksimsamil/jaksimsamil-page/src/components/common/Responsive.js":"34","/home/ubuntu/Jaksimsamil/jaksimsamil-page/src/scripts/getRecommend.js":"35","/home/ubuntu/Jaksimsamil/jaksimsamil-page/src/components/setting/LineQR.js":"36"},{"size":1335,"mtime":1607445627213,"results":"37","hashOfConfig":"38"},{"size":5086,"mtime":1607445627213,"results":"39","hashOfConfig":"38"},{"size":578,"mtime":1607445627213,"results":"40","hashOfConfig":"38"},{"size":1630,"mtime":1607445627213,"results":"41","hashOfConfig":"38"},{"size":445,"mtime":1607445627213,"results":"42","hashOfConfig":"38"},{"size":334,"mtime":1607445627213,"results":"43","hashOfConfig":"38"},{"size":299,"mtime":1607445627213,"results":"44","hashOfConfig":"38"},{"size":304,"mtime":1607445627213,"results":"45","hashOfConfig":"38"},{"size":286,"mtime":1607445627213,"results":"46","hashOfConfig":"38"},{"size":486,"mtime":1607477932790,"results":"47","hashOfConfig":"38"},{"size":791,"mtime":1607445627213,"results":"48","hashOfConfig":"38"},{"size":2207,"mtime":1607445627213,"results":"49","hashOfConfig":"38"},{"size":657,"mtime":1607445627213,"results":"50","hashOfConfig":"38"},{"size":4307,"mtime":1607445627213,"results":"51","hashOfConfig":"38"},{"size":81,"mtime":1607445627213,"results":"52","hashOfConfig":"38"},{"size":1108,"mtime":1607445627213,"results":"53","hashOfConfig":"38"},{"size":1772,"mtime":1607445627213,"results":"54","hashOfConfig":"38"},{"size":2425,"mtime":1607445627213,"results":"55","hashOfConfig":"38"},{"size":461,"mtime":1607445627213,"results":"56","hashOfConfig":"38"},{"size":2328,"mtime":1607445627213,"results":"57","hashOfConfig":"38"},{"size":998,"mtime":1607445627213,"results":"58","hashOfConfig":"38"},{"size":462,"mtime":1607445627213,"results":"59","hashOfConfig":"38"},{"size":2366,"mtime":1607445627213,"results":"60","hashOfConfig":"38"},{"size":3233,"mtime":1607448407782,"results":"61","hashOfConfig":"38"},{"size":1505,"mtime":1607445627213,"results":"62","hashOfConfig":"38"},{"size":2521,"mtime":1607503603448,"results":"63","hashOfConfig":"38"},{"size":423,"mtime":1607445627213,"results":"64","hashOfConfig":"38"},{"size":1028,"mtime":1607445627213,"results":"65","hashOfConfig":"38"},{"size":950,"mtime":1607445627213,"results":"66","hashOfConfig":"38"},{"size":996,"mtime":1607445627213,"results":"67","hashOfConfig":"38"},{"size":611,"mtime":1607477932790,"results":"68","hashOfConfig":"69"},{"size":1095,"mtime":1607445627213,"results":"70","hashOfConfig":"38"},{"size":1162,"mtime":1607445627213,"results":"71","hashOfConfig":"38"},{"size":438,"mtime":1607445627213,"results":"72","hashOfConfig":"38"},{"size":932,"mtime":1607477932790,"results":"73","hashOfConfig":"69"},{"size":223,"mtime":1607503768246,"results":"74","hashOfConfig":"38"},{"filePath":"75","messages":"76","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"uo9cmn",{"filePath":"77","messages":"78","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"79","messages":"80","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"81","messages":"82","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"83","messages":"84","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"85","messages":"86","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"87","messages":"88","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"89","messages":"90","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"91","messages":"92","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"93","messages":"94","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"95","messages":"96","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"97","messages":"98","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"99","messages":"100","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"101","messages":"102","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"103","messages":"104","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"105","messages":"106","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"107","messages":"108","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"109","messages":"110","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"111","messages":"112","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"113","messages":"114","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"115","messages":"116","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"117","messages":"118","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"119","messages":"120","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"121","messages":"122","errorCount":0,"warningCount":7,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"123","messages":"124","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"125","messages":"126","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"127","messages":"128","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"129","messages":"130","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"131","messages":"132","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"133","messages":"134","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"135","messages":"136","errorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":"137","usedDeprecatedRules":"138"},"hwvb7u",{"filePath":"139","messages":"140","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"141","messages":"142","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"143","messages":"144","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"145","messages":"146","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"147","messages":"148","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},"/home/ubuntu/Jaksimsamil/jaksimsamil-page/src/index.js",[],"/home/ubuntu/Jaksimsamil/jaksimsamil-page/src/serviceWorker.js",[],"/home/ubuntu/Jaksimsamil/jaksimsamil-page/src/App.js",[],"/home/ubuntu/Jaksimsamil/jaksimsamil-page/src/modules/user.js",[],"/home/ubuntu/Jaksimsamil/jaksimsamil-page/src/modules/index.js",[],"/home/ubuntu/Jaksimsamil/jaksimsamil-page/src/pages/SettingPage.js",[],"/home/ubuntu/Jaksimsamil/jaksimsamil-page/src/pages/HomePage.js",[],"/home/ubuntu/Jaksimsamil/jaksimsamil-page/src/pages/RegisterPage.js",[],"/home/ubuntu/Jaksimsamil/jaksimsamil-page/src/pages/LoginPage.js",[],"/home/ubuntu/Jaksimsamil/jaksimsamil-page/src/lib/api/auth.js",[],"/home/ubuntu/Jaksimsamil/jaksimsamil-page/src/lib/createRequestSaga.js",[],"/home/ubuntu/Jaksimsamil/jaksimsamil-page/src/modules/auth.js",[],"/home/ubuntu/Jaksimsamil/jaksimsamil-page/src/modules/loading.js",[],"/home/ubuntu/Jaksimsamil/jaksimsamil-page/src/modules/profile.js",[],"/home/ubuntu/Jaksimsamil/jaksimsamil-page/src/lib/api/client.js",[],"/home/ubuntu/Jaksimsamil/jaksimsamil-page/src/containers/home/HomeContainer.js",[],"/home/ubuntu/Jaksimsamil/jaksimsamil-page/src/containers/auth/LoginForm.js",[],"/home/ubuntu/Jaksimsamil/jaksimsamil-page/src/containers/setting/SettingContainer.js",["149"],"/home/ubuntu/Jaksimsamil/jaksimsamil-page/src/containers/common/HeaderContainer.js",[],"/home/ubuntu/Jaksimsamil/jaksimsamil-page/src/containers/auth/RegisterForm.js",[],"/home/ubuntu/Jaksimsamil/jaksimsamil-page/src/components/auth/AuthTemplate.js",[],"/home/ubuntu/Jaksimsamil/jaksimsamil-page/src/lib/api/profile.js",[],"/home/ubuntu/Jaksimsamil/jaksimsamil-page/src/components/auth/AuthForm.js",[],"/home/ubuntu/Jaksimsamil/jaksimsamil-page/src/components/home/HomeForm.js",["150","151","152","153","154","155","156"],"/home/ubuntu/Jaksimsamil/jaksimsamil-page/src/components/common/Header.js",[],"/home/ubuntu/Jaksimsamil/jaksimsamil-page/src/components/setting/SettingForm.js",[],"/home/ubuntu/Jaksimsamil/jaksimsamil-page/src/lib/styles/palette.js",[],"/home/ubuntu/Jaksimsamil/jaksimsamil-page/src/components/common/Button.js",[],"/home/ubuntu/Jaksimsamil/jaksimsamil-page/src/components/setting/SlackForm.js",[],"/home/ubuntu/Jaksimsamil/jaksimsamil-page/src/components/setting/GoalNumForm.js",[],"/home/ubuntu/Jaksimsamil/jaksimsamil-page/src/components/setting/KakaoLogin.js",["157","158"],"import React from 'react';\nimport getRecommend from \"../../scripts/getRecommend\";\n\nconst KakaoLoginBtn = () => {\n const KakaoLogin = function () {\n window.Kakao.Auth.login({\n success: getRecommend,\n fail: function (err) {\n console.log(\"login failed\", err);\n }\n })\n }\n return (\n <div>\n <button onClick={KakaoLogin}\n a id=\"custom-login-btn\" href=\"javascript:loginWithKakao()\">\n <img\n src=\"//k.kakaocdn.net/14/dn/btqCn0WEmI3/nijroPfbpCa4at5EIsjyf0/o.jpg\"\n width=\"140\"\n />\n </button>\n </div>\n );\n};\n\nexport default KakaoLoginBtn",["159","160"],"/home/ubuntu/Jaksimsamil/jaksimsamil-page/src/components/setting/BJIDForm.js",[],"/home/ubuntu/Jaksimsamil/jaksimsamil-page/src/components/common/Categories.js",[],"/home/ubuntu/Jaksimsamil/jaksimsamil-page/src/components/common/Responsive.js",[],"/home/ubuntu/Jaksimsamil/jaksimsamil-page/src/scripts/getRecommend.js",[],"/home/ubuntu/Jaksimsamil/jaksimsamil-page/src/components/setting/LineQR.js",["161"],{"ruleId":"162","severity":1,"message":"163","line":78,"column":38,"nodeType":"164","messageId":"165","endLine":78,"endColumn":40},{"ruleId":"166","severity":1,"message":"167","line":6,"column":8,"nodeType":"168","messageId":"169","endLine":6,"endColumn":16},{"ruleId":"170","severity":1,"message":"171","line":77,"column":13,"nodeType":"172","endLine":77,"endColumn":17},{"ruleId":"170","severity":1,"message":"171","line":83,"column":13,"nodeType":"172","endLine":83,"endColumn":17},{"ruleId":"170","severity":1,"message":"171","line":89,"column":13,"nodeType":"172","endLine":89,"endColumn":17},{"ruleId":"170","severity":1,"message":"171","line":96,"column":13,"nodeType":"172","endLine":96,"endColumn":17},{"ruleId":"170","severity":1,"message":"171","line":102,"column":13,"nodeType":"172","endLine":102,"endColumn":17},{"ruleId":"170","severity":1,"message":"171","line":108,"column":13,"nodeType":"172","endLine":108,"endColumn":17},{"ruleId":"173","severity":1,"message":"174","line":16,"column":38,"nodeType":"175","messageId":"176","endLine":16,"endColumn":67},{"ruleId":"177","severity":1,"message":"178","line":17,"column":9,"nodeType":"172","endLine":20,"endColumn":11},{"ruleId":"179","replacedBy":"180"},{"ruleId":"181","replacedBy":"182"},{"ruleId":"177","severity":1,"message":"178","line":6,"column":9,"nodeType":"172","endLine":9,"endColumn":11},"eqeqeq","Expected '===' and instead saw '=='.","BinaryExpression","unexpected","no-unused-vars","'AuthForm' is defined but never used.","Identifier","unusedVar","jsx-a11y/heading-has-content","Headings must have content and the content must be accessible by a screen reader.","JSXOpeningElement","no-script-url","Script URL is a form of eval.","Literal","unexpectedScriptURL","jsx-a11y/alt-text","img elements must have an alt prop, either with meaningful text, or an empty string for decorative images.","no-native-reassign",["183"],"no-negated-in-lhs",["184"],"no-global-assign","no-unsafe-negation"]
\ No newline at end of file
[{"/home/ubuntu/Jaksimsamil/jaksimsamil-page/src/index.js":"1","/home/ubuntu/Jaksimsamil/jaksimsamil-page/src/serviceWorker.js":"2","/home/ubuntu/Jaksimsamil/jaksimsamil-page/src/App.js":"3","/home/ubuntu/Jaksimsamil/jaksimsamil-page/src/modules/user.js":"4","/home/ubuntu/Jaksimsamil/jaksimsamil-page/src/modules/index.js":"5","/home/ubuntu/Jaksimsamil/jaksimsamil-page/src/pages/SettingPage.js":"6","/home/ubuntu/Jaksimsamil/jaksimsamil-page/src/pages/HomePage.js":"7","/home/ubuntu/Jaksimsamil/jaksimsamil-page/src/pages/RegisterPage.js":"8","/home/ubuntu/Jaksimsamil/jaksimsamil-page/src/pages/LoginPage.js":"9","/home/ubuntu/Jaksimsamil/jaksimsamil-page/src/lib/api/auth.js":"10","/home/ubuntu/Jaksimsamil/jaksimsamil-page/src/lib/createRequestSaga.js":"11","/home/ubuntu/Jaksimsamil/jaksimsamil-page/src/modules/auth.js":"12","/home/ubuntu/Jaksimsamil/jaksimsamil-page/src/modules/loading.js":"13","/home/ubuntu/Jaksimsamil/jaksimsamil-page/src/modules/profile.js":"14","/home/ubuntu/Jaksimsamil/jaksimsamil-page/src/lib/api/client.js":"15","/home/ubuntu/Jaksimsamil/jaksimsamil-page/src/containers/home/HomeContainer.js":"16","/home/ubuntu/Jaksimsamil/jaksimsamil-page/src/containers/auth/LoginForm.js":"17","/home/ubuntu/Jaksimsamil/jaksimsamil-page/src/containers/setting/SettingContainer.js":"18","/home/ubuntu/Jaksimsamil/jaksimsamil-page/src/containers/common/HeaderContainer.js":"19","/home/ubuntu/Jaksimsamil/jaksimsamil-page/src/containers/auth/RegisterForm.js":"20","/home/ubuntu/Jaksimsamil/jaksimsamil-page/src/components/auth/AuthTemplate.js":"21","/home/ubuntu/Jaksimsamil/jaksimsamil-page/src/lib/api/profile.js":"22","/home/ubuntu/Jaksimsamil/jaksimsamil-page/src/components/auth/AuthForm.js":"23","/home/ubuntu/Jaksimsamil/jaksimsamil-page/src/components/home/HomeForm.js":"24","/home/ubuntu/Jaksimsamil/jaksimsamil-page/src/components/common/Header.js":"25","/home/ubuntu/Jaksimsamil/jaksimsamil-page/src/components/setting/SettingForm.js":"26","/home/ubuntu/Jaksimsamil/jaksimsamil-page/src/lib/styles/palette.js":"27","/home/ubuntu/Jaksimsamil/jaksimsamil-page/src/components/common/Button.js":"28","/home/ubuntu/Jaksimsamil/jaksimsamil-page/src/components/setting/SlackForm.js":"29","/home/ubuntu/Jaksimsamil/jaksimsamil-page/src/components/setting/GoalNumForm.js":"30","/home/ubuntu/Jaksimsamil/jaksimsamil-page/src/components/setting/BJIDForm.js":"31","/home/ubuntu/Jaksimsamil/jaksimsamil-page/src/components/common/Categories.js":"32","/home/ubuntu/Jaksimsamil/jaksimsamil-page/src/components/common/Responsive.js":"33","/home/ubuntu/Jaksimsamil/jaksimsamil-page/src/components/setting/LineQR.js":"34"},{"size":1335,"mtime":1607445627213,"results":"35","hashOfConfig":"36"},{"size":5086,"mtime":1607445627213,"results":"37","hashOfConfig":"36"},{"size":578,"mtime":1607445627213,"results":"38","hashOfConfig":"36"},{"size":1630,"mtime":1607445627213,"results":"39","hashOfConfig":"36"},{"size":445,"mtime":1607445627213,"results":"40","hashOfConfig":"36"},{"size":334,"mtime":1607445627213,"results":"41","hashOfConfig":"36"},{"size":299,"mtime":1607445627213,"results":"42","hashOfConfig":"36"},{"size":304,"mtime":1607445627213,"results":"43","hashOfConfig":"36"},{"size":286,"mtime":1607445627213,"results":"44","hashOfConfig":"36"},{"size":371,"mtime":1607511328916,"results":"45","hashOfConfig":"36"},{"size":791,"mtime":1607445627213,"results":"46","hashOfConfig":"36"},{"size":2207,"mtime":1607445627213,"results":"47","hashOfConfig":"36"},{"size":657,"mtime":1607445627213,"results":"48","hashOfConfig":"36"},{"size":4307,"mtime":1607445627213,"results":"49","hashOfConfig":"36"},{"size":81,"mtime":1607445627213,"results":"50","hashOfConfig":"36"},{"size":1108,"mtime":1607445627213,"results":"51","hashOfConfig":"36"},{"size":1772,"mtime":1607445627213,"results":"52","hashOfConfig":"36"},{"size":2417,"mtime":1607511018028,"results":"53","hashOfConfig":"36"},{"size":461,"mtime":1607445627213,"results":"54","hashOfConfig":"36"},{"size":2328,"mtime":1607445627213,"results":"55","hashOfConfig":"36"},{"size":998,"mtime":1607445627213,"results":"56","hashOfConfig":"36"},{"size":462,"mtime":1607445627213,"results":"57","hashOfConfig":"36"},{"size":2366,"mtime":1607445627213,"results":"58","hashOfConfig":"36"},{"size":3193,"mtime":1607510578597,"results":"59","hashOfConfig":"36"},{"size":1505,"mtime":1607445627213,"results":"60","hashOfConfig":"36"},{"size":2521,"mtime":1607503603448,"results":"61","hashOfConfig":"36"},{"size":423,"mtime":1607445627213,"results":"62","hashOfConfig":"36"},{"size":1028,"mtime":1607445627213,"results":"63","hashOfConfig":"36"},{"size":950,"mtime":1607445627213,"results":"64","hashOfConfig":"36"},{"size":996,"mtime":1607445627213,"results":"65","hashOfConfig":"36"},{"size":1095,"mtime":1607445627213,"results":"66","hashOfConfig":"36"},{"size":1162,"mtime":1607445627213,"results":"67","hashOfConfig":"36"},{"size":438,"mtime":1607445627213,"results":"68","hashOfConfig":"36"},{"size":223,"mtime":1607503768246,"results":"69","hashOfConfig":"36"},{"filePath":"70","messages":"71","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"72"},"uo9cmn",{"filePath":"73","messages":"74","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"72"},{"filePath":"75","messages":"76","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"72"},{"filePath":"77","messages":"78","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"72"},{"filePath":"79","messages":"80","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"72"},{"filePath":"81","messages":"82","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"72"},{"filePath":"83","messages":"84","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"72"},{"filePath":"85","messages":"86","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"72"},{"filePath":"87","messages":"88","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"72"},{"filePath":"89","messages":"90","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"91","messages":"92","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"72"},{"filePath":"93","messages":"94","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"72"},{"filePath":"95","messages":"96","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"72"},{"filePath":"97","messages":"98","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"72"},{"filePath":"99","messages":"100","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"72"},{"filePath":"101","messages":"102","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"72"},{"filePath":"103","messages":"104","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"72"},{"filePath":"105","messages":"106","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"107","messages":"108","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"72"},{"filePath":"109","messages":"110","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"72"},{"filePath":"111","messages":"112","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"72"},{"filePath":"113","messages":"114","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"72"},{"filePath":"115","messages":"116","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"72"},{"filePath":"117","messages":"118","errorCount":0,"warningCount":6,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"119","messages":"120","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"72"},{"filePath":"121","messages":"122","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"72"},{"filePath":"123","messages":"124","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"72"},{"filePath":"125","messages":"126","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"72"},{"filePath":"127","messages":"128","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"72"},{"filePath":"129","messages":"130","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"72"},{"filePath":"131","messages":"132","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"72"},{"filePath":"133","messages":"134","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"72"},{"filePath":"135","messages":"136","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"72"},{"filePath":"137","messages":"138","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"139"},"/home/ubuntu/Jaksimsamil/jaksimsamil-page/src/index.js",[],["140","141"],"/home/ubuntu/Jaksimsamil/jaksimsamil-page/src/serviceWorker.js",[],"/home/ubuntu/Jaksimsamil/jaksimsamil-page/src/App.js",[],"/home/ubuntu/Jaksimsamil/jaksimsamil-page/src/modules/user.js",[],"/home/ubuntu/Jaksimsamil/jaksimsamil-page/src/modules/index.js",[],"/home/ubuntu/Jaksimsamil/jaksimsamil-page/src/pages/SettingPage.js",[],"/home/ubuntu/Jaksimsamil/jaksimsamil-page/src/pages/HomePage.js",[],"/home/ubuntu/Jaksimsamil/jaksimsamil-page/src/pages/RegisterPage.js",[],"/home/ubuntu/Jaksimsamil/jaksimsamil-page/src/pages/LoginPage.js",[],"/home/ubuntu/Jaksimsamil/jaksimsamil-page/src/lib/api/auth.js",[],"/home/ubuntu/Jaksimsamil/jaksimsamil-page/src/lib/createRequestSaga.js",[],"/home/ubuntu/Jaksimsamil/jaksimsamil-page/src/modules/auth.js",[],"/home/ubuntu/Jaksimsamil/jaksimsamil-page/src/modules/loading.js",[],"/home/ubuntu/Jaksimsamil/jaksimsamil-page/src/modules/profile.js",[],"/home/ubuntu/Jaksimsamil/jaksimsamil-page/src/lib/api/client.js",[],"/home/ubuntu/Jaksimsamil/jaksimsamil-page/src/containers/home/HomeContainer.js",[],"/home/ubuntu/Jaksimsamil/jaksimsamil-page/src/containers/auth/LoginForm.js",[],"/home/ubuntu/Jaksimsamil/jaksimsamil-page/src/containers/setting/SettingContainer.js",[],"/home/ubuntu/Jaksimsamil/jaksimsamil-page/src/containers/common/HeaderContainer.js",[],"/home/ubuntu/Jaksimsamil/jaksimsamil-page/src/containers/auth/RegisterForm.js",[],"/home/ubuntu/Jaksimsamil/jaksimsamil-page/src/components/auth/AuthTemplate.js",[],"/home/ubuntu/Jaksimsamil/jaksimsamil-page/src/lib/api/profile.js",[],"/home/ubuntu/Jaksimsamil/jaksimsamil-page/src/components/auth/AuthForm.js",[],"/home/ubuntu/Jaksimsamil/jaksimsamil-page/src/components/home/HomeForm.js",["142","143","144","145","146","147"],"/home/ubuntu/Jaksimsamil/jaksimsamil-page/src/components/common/Header.js",[],"/home/ubuntu/Jaksimsamil/jaksimsamil-page/src/components/setting/SettingForm.js",[],"/home/ubuntu/Jaksimsamil/jaksimsamil-page/src/lib/styles/palette.js",[],"/home/ubuntu/Jaksimsamil/jaksimsamil-page/src/components/common/Button.js",[],"/home/ubuntu/Jaksimsamil/jaksimsamil-page/src/components/setting/SlackForm.js",[],"/home/ubuntu/Jaksimsamil/jaksimsamil-page/src/components/setting/GoalNumForm.js",[],"/home/ubuntu/Jaksimsamil/jaksimsamil-page/src/components/setting/BJIDForm.js",[],"/home/ubuntu/Jaksimsamil/jaksimsamil-page/src/components/common/Categories.js",[],"/home/ubuntu/Jaksimsamil/jaksimsamil-page/src/components/common/Responsive.js",[],"/home/ubuntu/Jaksimsamil/jaksimsamil-page/src/components/setting/LineQR.js",["148"],"import React from 'react';\n\nconst LineQR = () => {\n return (\n <div>\n <img\n src=\"https://qr-official.line.me/sid/L/132nudgz.png\"\n width=\"130\"\n />\n </div>\n );\n};\n\nexport default LineQR\n",{"ruleId":"149","replacedBy":"150"},{"ruleId":"151","replacedBy":"152"},{"ruleId":"153","severity":1,"message":"154","line":77,"column":13,"nodeType":"155","endLine":77,"endColumn":17},{"ruleId":"153","severity":1,"message":"154","line":83,"column":13,"nodeType":"155","endLine":83,"endColumn":17},{"ruleId":"153","severity":1,"message":"154","line":89,"column":13,"nodeType":"155","endLine":89,"endColumn":17},{"ruleId":"153","severity":1,"message":"154","line":96,"column":13,"nodeType":"155","endLine":96,"endColumn":17},{"ruleId":"153","severity":1,"message":"154","line":102,"column":13,"nodeType":"155","endLine":102,"endColumn":17},{"ruleId":"153","severity":1,"message":"154","line":108,"column":13,"nodeType":"155","endLine":108,"endColumn":17},{"ruleId":"156","severity":1,"message":"157","line":6,"column":9,"nodeType":"155","endLine":9,"endColumn":11},"no-native-reassign",["158"],"no-negated-in-lhs",["159"],"jsx-a11y/heading-has-content","Headings must have content and the content must be accessible by a screen reader.","JSXOpeningElement","jsx-a11y/alt-text","img elements must have an alt prop, either with meaningful text, or an empty string for decorative images.","no-global-assign","no-unsafe-negation"]
\ No newline at end of file
......
......@@ -3,7 +3,7 @@ import { makeStyles } from '@material-ui/core/styles';
import Paper from '@material-ui/core/Paper';
import Grid from '@material-ui/core/Grid';
import palette from '../../lib/styles/palette';
import AuthForm from '../auth/AuthForm';
const useStyles = makeStyles((theme) => ({
root: {
flexGrow: 1,
......
import React from 'react';
import getRecommend from "../../scripts/getRecommend";
const KakaoLoginBtn = () => {
const KakaoLogin = function () {
window.Kakao.Auth.login({
success: getRecommend,
fail: function (err) {
console.log("login failed", err);
}
})
}
return (
<div>
<button onClick={KakaoLogin}
a id="custom-login-btn" href="javascript:loginWithKakao()">
<img
src="//k.kakaocdn.net/14/dn/btqCn0WEmI3/nijroPfbpCa4at5EIsjyf0/o.jpg"
width="140"
/>
</button>
</div>
);
};
export default KakaoLoginBtn
\ No newline at end of file
......@@ -75,7 +75,7 @@ const SettingContainer = ({ history }) => {
}
}, [dispatch, user, history]);
useEffect(() => {
if (loading['profile/SYNC_BJID'] == true) {
if (loading['profile/SYNC_BJID']) {
setLoading(true);
} else {
setLoading(false);
......
......@@ -9,8 +9,3 @@ export const register = ({ username, password }) =>
export const check = () => client.get('api/auth/check');
export const logout = () => client.post('/api/auth/logout');
export const kakaotoken = (kakaotoken) =>
client.post('api/auth/kakaotoken', {
kakaotoken: kakaotoken
});
......
const app = require('koa')
function getRecommend(auth) {
console.log("login success", auth);
const host = 'https://localhost:23023';
const url = host+"/api/profile/recommend";
const data = { username: 'test' };
window.fetch(url, {
method: "POST",
body: JSON.stringify(data),
headers: {
'Content-Type': 'application/json'
}
})
.then(res => {
console.log(res);
return res.json();
})
.then(shareToKakao);
}
const TOKEN = 'tdN03DyXDAcKGZsuiPndaU7UC2GzuEQYUhPCkDnGWXGGdiPmV15QYbFU1U5JP5EpiETIKLqOmci/RxFZTfD7FRMED0OpT+3qgEYBNf8T9/jRzHRm7rblBLtzFBVOeXeYRcluOsz4koE4JaAJaUtMtwdB04t89/1O/w1cDnyilFU='
function shareToKakao({problem_number, problem_title, solved_date}) {
console.log('getting ready to share...');
const boj_link = "https://acmicpc.net/problem/" + problem_number.toString();
window.fetch('https://www.osstest17.ml:23023/hook', {
method: "POST",
body: JSON.stringify(data),
headers: {
'Authorization': `Bearer ${TOKEN}`
},
json: {
"replyToken":eventObj.replyToken,
"messages":[
{
"type":"text",
"text":"Hello, user"
},
{
"type":"text",
"text":"May I help you?"
}
]
}
})
window.Kakao.Link.sendDefault({
objectType: 'text',
text: `오늘의 추천문제는 ${problem_title}`,
link: {
mobileWebUrl: boj_link,
webUrl: boj_link,
}
});
}
export {
getRecommend as default
};
\ No newline at end of file