[{"/home/kuchy/Zlew/Studia/NieNotatki/Projekty/nie_inzynierka/Programowanie/egui_lab1_krzysztof_rudnicki/lab3/front/src/index.js":"1","/home/kuchy/Zlew/Studia/NieNotatki/Projekty/nie_inzynierka/Programowanie/egui_lab1_krzysztof_rudnicki/lab3/front/src/App.js":"2","/home/kuchy/Zlew/Studia/NieNotatki/Projekty/nie_inzynierka/Programowanie/egui_lab1_krzysztof_rudnicki/lab3/front/src/components/topbar/TopBar.jsx":"3","/home/kuchy/Zlew/Studia/NieNotatki/Projekty/nie_inzynierka/Programowanie/egui_lab1_krzysztof_rudnicki/lab3/front/src/components/pages/Login/Login.jsx":"4","/home/kuchy/Zlew/Studia/NieNotatki/Projekty/nie_inzynierka/Programowanie/egui_lab1_krzysztof_rudnicki/lab3/front/src/components/pages/blogEntry/BlogEntry.jsx":"5","/home/kuchy/Zlew/Studia/NieNotatki/Projekty/nie_inzynierka/Programowanie/egui_lab1_krzysztof_rudnicki/lab3/front/src/components/pages/home/Home.jsx":"6","/home/kuchy/Zlew/Studia/NieNotatki/Projekty/nie_inzynierka/Programowanie/egui_lab1_krzysztof_rudnicki/lab3/front/src/components/pages/createEntry/CreateEntry.jsx":"7","/home/kuchy/Zlew/Studia/NieNotatki/Projekty/nie_inzynierka/Programowanie/egui_lab1_krzysztof_rudnicki/lab3/front/src/components/blogs/Blogs.jsx":"8","/home/kuchy/Zlew/Studia/NieNotatki/Projekty/nie_inzynierka/Programowanie/egui_lab1_krzysztof_rudnicki/lab3/front/src/components/blog/blog.jsx":"9","/home/kuchy/Zlew/Studia/NieNotatki/Projekty/nie_inzynierka/Programowanie/egui_lab1_krzysztof_rudnicki/lab3/front/src/components/pages/Register/Register.jsx":"10","/home/kuchy/Zlew/Studia/NieNotatki/Projekty/nie_inzynierka/Programowanie/egui_lab1_krzysztof_rudnicki/lab3/front/src/context/Context.js":"11","/home/kuchy/Zlew/Studia/NieNotatki/Projekty/nie_inzynierka/Programowanie/egui_lab1_krzysztof_rudnicki/lab3/front/src/context/Reducer.js":"12"},{"size":332,"mtime":1655271635484,"results":"13","hashOfConfig":"14"},{"size":1062,"mtime":1655272881062,"results":"15","hashOfConfig":"14"},{"size":1096,"mtime":1655274940114,"results":"16","hashOfConfig":"14"},{"size":1564,"mtime":1655272971161,"results":"17","hashOfConfig":"14"},{"size":2943,"mtime":1655277682567,"results":"18","hashOfConfig":"14"},{"size":561,"mtime":1655269053872,"results":"19","hashOfConfig":"14"},{"size":1644,"mtime":1655274233680,"results":"20","hashOfConfig":"14"},{"size":279,"mtime":1655264237218,"results":"21","hashOfConfig":"14"},{"size":749,"mtime":1655264916454,"results":"22","hashOfConfig":"14"},{"size":2340,"mtime":1655271089002,"results":"23","hashOfConfig":"14"},{"size":714,"mtime":1655272134022,"results":"24","hashOfConfig":"14"},{"size":776,"mtime":1655273072900,"results":"25","hashOfConfig":"14"},{"filePath":"26","messages":"27","suppressedMessages":"28","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"29"},"4jkpkk",{"filePath":"30","messages":"31","suppressedMessages":"32","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"29"},{"filePath":"33","messages":"34","suppressedMessages":"35","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"29"},{"filePath":"36","messages":"37","suppressedMessages":"38","errorCount":0,"fatalErrorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"39","usedDeprecatedRules":"29"},{"filePath":"40","messages":"41","suppressedMessages":"42","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"43","messages":"44","suppressedMessages":"45","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"29"},{"filePath":"46","messages":"47","suppressedMessages":"48","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"29"},{"filePath":"49","messages":"50","suppressedMessages":"51","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"29"},{"filePath":"52","messages":"53","suppressedMessages":"54","errorCount":0,"fatalErrorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"55","usedDeprecatedRules":"29"},{"filePath":"56","messages":"57","suppressedMessages":"58","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"29"},{"filePath":"59","messages":"60","suppressedMessages":"61","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"29"},{"filePath":"62","messages":"63","suppressedMessages":"64","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"29"},"/home/kuchy/Zlew/Studia/NieNotatki/Projekty/nie_inzynierka/Programowanie/egui_lab1_krzysztof_rudnicki/lab3/front/src/index.js",[],[],[],"/home/kuchy/Zlew/Studia/NieNotatki/Projekty/nie_inzynierka/Programowanie/egui_lab1_krzysztof_rudnicki/lab3/front/src/App.js",[],[],"/home/kuchy/Zlew/Studia/NieNotatki/Projekty/nie_inzynierka/Programowanie/egui_lab1_krzysztof_rudnicki/lab3/front/src/components/topbar/TopBar.jsx",[],[],"/home/kuchy/Zlew/Studia/NieNotatki/Projekty/nie_inzynierka/Programowanie/egui_lab1_krzysztof_rudnicki/lab3/front/src/components/pages/Login/Login.jsx",["65"],[],"import 'bootstrap/dist/css/bootstrap.min.css';\n\nimport Button from 'react-bootstrap/Button';\nimport { Context } from '../../../context/Context';\nimport Form from 'react-bootstrap/Form';\nimport { Link } from 'react-router-dom';\nimport axios from \"axios\";\nimport { useContext } from 'react';\nimport { useRef } from 'react';\n\nexport default function Login() {\n const passwordRef = useRef();\n const userRef = useRef();\n const { dispatch, isFetching } = useContext(Context);\n const handleSubmit = async (e)=>{\n e.preventDefault();\n dispatch({type:\"LOGIN_START\"});\n try{\n const response = await axios.post(\"/auth/login\", {\n login: userRef.current.value,\n password: passwordRef.current.value,\n })\n dispatch({type:\"LOGIN_SUCCESS\", payload: response.data});\n }catch(err){\n dispatch({type:\"LOGIN_FAILURE\"});\n }\n }\n\n\n return (\n