Merge pull request #212 from openziti/linter-updates

updated package.json and cleaned up some linter warnings
This commit is contained in:
Michael Quigley 2023-02-06 13:49:49 -05:00 committed by GitHub
commit 81ae5ba415
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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