updated package.json and cleaned up some linter warnings

This commit is contained in:
Cam Otts 2023-02-03 10:27:31 -06:00
parent ea094b801c
commit 33de5a21d1
No known key found for this signature in database
GPG Key ID: 367B7C7EBD84A8BD
4 changed files with 7576 additions and 4454 deletions

12019
ui/package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -17,13 +17,15 @@
"react-data-table-component": "^7.5.2",
"react-dom": "^18.2.0",
"react-flow-renderer": "^10.3.12",
"react-force-graph": "^1.41.17",
"react-force-graph": "^1.41.20",
"react-router-dom": "^6.4.0",
"react-scripts": "5.0.1",
"react-sizeme": "^3.0.2",
"react-sparklines": "^1.7.0",
"styled-components": "^5.3.5"
},
"devDependencies": {
"react-scripts": "^5.0.1"
},
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",

View File

@ -30,7 +30,7 @@ const Register = () => {
return () => {
mounted = false;
}
}, []);
}, [token]);
if(activeRequest) {
step = <SetPasswordForm email={email} token={token}/>

View File

@ -1,9 +1,8 @@
import {useLocation, useParams} from "react-router-dom";
import {useParams} from "react-router-dom";
import SendRequest from "./SendRequest"
import SetNewPassword from "./SetNewPassword";
const ResetPassword = () => {
const { search } = useLocation();
const { token } = useParams();
console.log(token)
let component = undefined