I changed things
This commit is contained in:
parent
6294cab2ee
commit
ca0dc6d104
21779
package-lock.json
generated
21779
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
10
src/App.js
10
src/App.js
@ -1,12 +1,10 @@
|
|||||||
import './reset.css'; // Generic reset
|
import './reset.css'; // Generic reset
|
||||||
import './style.css'; // The new new
|
import './style.css'; // The new new
|
||||||
import React, {useState,useEffect,useReducer} from 'react';
|
import React, {useState,useEffect,useReducer} from 'react';
|
||||||
import useGlobalKeyDown from 'react-global-key-down-hook'
|
|
||||||
import Toggle from 'react-toggle' //Tooltip props: http://aaronshaf.github.io/react-toggle/
|
import Toggle from 'react-toggle' //Tooltip props: http://aaronshaf.github.io/react-toggle/
|
||||||
import Helmet from 'react-helmet'
|
import Helmet from 'react-helmet'
|
||||||
import { ExpandTooltip } from './components/ExpandTooltip';
|
|
||||||
|
|
||||||
import {XSquareFill, PlusCircle, LifePreserver, Server, CloudUploadFill, PatchCheck} from 'react-bootstrap-icons'
|
import {XSquareFill, PlusCircle, LifePreserver, Server, CloudUploadFill} from 'react-bootstrap-icons'
|
||||||
|
|
||||||
import { SkillTree } from './skilltree/skillTree';
|
import { SkillTree } from './skilltree/skillTree';
|
||||||
|
|
||||||
@ -603,7 +601,7 @@ function LoginForm(p) {
|
|||||||
|
|
||||||
useEffect(()=>{
|
useEffect(()=>{
|
||||||
VerifyLogin({...p,history:history})
|
VerifyLogin({...p,history:history})
|
||||||
},[])
|
},[history,p])
|
||||||
|
|
||||||
function SubmitLogin() {
|
function SubmitLogin() {
|
||||||
setError("")
|
setError("")
|
||||||
@ -658,7 +656,7 @@ function RegisterForm(p) {
|
|||||||
|
|
||||||
useEffect(()=>{
|
useEffect(()=>{
|
||||||
VerifyLogin({...p,history:history})
|
VerifyLogin({...p,history:history})
|
||||||
},[])
|
},[history,p])
|
||||||
|
|
||||||
function SubmitRegister() {
|
function SubmitRegister() {
|
||||||
setError("")
|
setError("")
|
||||||
@ -833,6 +831,7 @@ function App() {
|
|||||||
<DamageCalculator/>
|
<DamageCalculator/>
|
||||||
</Route>
|
</Route>
|
||||||
<Route path={process.env.PUBLIC_URL+"/skilltree"}>
|
<Route path={process.env.PUBLIC_URL+"/skilltree"}>
|
||||||
|
<Box title="Skill Tree">
|
||||||
<SkillTree strokeStyle="rgba(0,0,128,1)" lineWidth={3} lineDash={[]}
|
<SkillTree strokeStyle="rgba(0,0,128,1)" lineWidth={3} lineDash={[]}
|
||||||
gridDimensions={[6,6]} gridSize={[80,60]} gridPadding={[10,10]}
|
gridDimensions={[6,6]} gridSize={[80,60]} gridPadding={[10,10]}
|
||||||
skillLines={["□ □ ", //─ □
|
skillLines={["□ □ ", //─ □
|
||||||
@ -853,6 +852,7 @@ function App() {
|
|||||||
"□ │ ", //┌ ┐ ┬
|
"□ │ ", //┌ ┐ ┬
|
||||||
" □ "]}//└ ┘ ┴
|
" □ "]}//└ ┘ ┴
|
||||||
/>
|
/>
|
||||||
|
</Box>
|
||||||
</Route>
|
</Route>
|
||||||
<Route path="/">
|
<Route path="/">
|
||||||
<Helmet>
|
<Helmet>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user