Commit e4f09cae authored by Mathias Engelbrecht Pilegård's avatar Mathias Engelbrecht Pilegård
Browse files

added redirect to home when oktaAuth detects user as already logged in

parent 47e062ec
{"ast":null,"code":"var _jsxFileName = \"C:\\\\Users\\\\Bruger\\\\Desktop\\\\Web-projects\\\\pipit\\\\client\\\\src\\\\pages\\\\navbar\\\\searchbar\\\\Searchbar.jsx\";\nimport React from 'react';\nimport \"./Searchbar.css\";\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\nimport { jsxDEV as _jsxDEV } from \"react/jsx-dev-runtime\";\n\nconst Searchbar = () => {\n return /*#__PURE__*/_jsxDEV(\"li\", {\n children: /*#__PURE__*/_jsxDEV(\"div\", {\n className: \"navbar-searchbar-container\",\n children: [/*#__PURE__*/_jsxDEV(\"input\", {\n className: \"searchbar-input\",\n type: \"text\",\n name: \"\",\n placeholder: \"Search..\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 9,\n columnNumber: 9\n }, this), /*#__PURE__*/_jsxDEV(FontAwesomeIcon, {\n icon: \"search\",\n className: \"search-button\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 11,\n columnNumber: 9\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 8,\n columnNumber: 7\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 7,\n columnNumber: 5\n }, this);\n};\n\n_c = Searchbar;\nexport default Searchbar;\n\nvar _c;\n\n$RefreshReg$(_c, \"Searchbar\");","map":{"version":3,"sources":["C:/Users/Bruger/Desktop/Web-projects/pipit/client/src/pages/navbar/searchbar/Searchbar.jsx"],"names":["React","FontAwesomeIcon","Searchbar"],"mappings":";AAAA,OAAOA,KAAP,MAAkB,OAAlB;AACA,OAAO,iBAAP;AACA,SAASC,eAAT,QAAgC,gCAAhC;;;AAEA,MAAMC,SAAS,GAAG,MAAM;AACtB,sBACE;AAAA,2BACE;AAAK,MAAA,SAAS,EAAC,4BAAf;AAAA,8BACE;AAAO,QAAA,SAAS,EAAC,iBAAjB;AAAmC,QAAA,IAAI,EAAC,MAAxC;AAA+C,QAAA,IAAI,EAAC,EAApD;AAAuD,QAAA,WAAW,EAAC;AAAnE;AAAA;AAAA;AAAA;AAAA,cADF,eAGE,QAAC,eAAD;AAAiB,QAAA,IAAI,EAAC,QAAtB;AAA+B,QAAA,SAAS,EAAC;AAAzC;AAAA;AAAA;AAAA;AAAA,cAHF;AAAA;AAAA;AAAA;AAAA;AAAA;AADF;AAAA;AAAA;AAAA;AAAA,UADF;AASD,CAVD;;KAAMA,S;AAWN,eAAeA,SAAf","sourcesContent":["import React from 'react'\r\nimport \"./Searchbar.css\"\r\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome'\r\n\r\nconst Searchbar = () => {\r\n return (\r\n <li>\r\n <div className=\"navbar-searchbar-container\">\r\n <input className=\"searchbar-input\" type=\"text\" name=\"\" placeholder=\"Search..\">\r\n </input>\r\n <FontAwesomeIcon icon=\"search\" className=\"search-button\"></FontAwesomeIcon>\r\n </div>\r\n </li>\r\n )\r\n}\r\nexport default Searchbar"]},"metadata":{},"sourceType":"module"}
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment