diff --git a/ngoplanner/src/App.js b/ngoplanner/src/App.js
index 2f3e08c..e707e59 100644
--- a/ngoplanner/src/App.js
+++ b/ngoplanner/src/App.js
@@ -1,6 +1,6 @@
import logo from './logo.svg';
import './App.css';
-import React, {useState,useEffect,useRef} from 'react';
+import React, {useState,useEffect,useRef,useReducer} from 'react';
function Col(p) {
return
@@ -31,13 +31,12 @@ return
{
}
function EditableBox(p) {
- const [name,setName] = useState(p.data)
const [edit,setEdit] = useState(false)
return <>
{setEdit(true)}}>
{edit?
-
- :<>{name}>}
+
+ :<>{p.data}>}
>
}
@@ -91,20 +90,18 @@ function EditableClass(p){
>
}
-function MainBox() {
- const [className,setClassName] = useState("RANGER")
- const [secondaryClassName,setSecondaryClassName] = useState("FORCE")
+function MainBox(p) {
return
-
-
- }>Lv.20
- >}>Lv.15
+
+
+ }>Lv.20
+ >}>Lv.15
}
-function StatsBox() {
+function StatsBox(p) {
return
@@ -118,7 +115,7 @@ function StatsBox() {
}
-function EffectsBox() {
+function EffectsBox(p) {
return
- 1
@@ -147,7 +144,7 @@ function EffectsBox() {
}
-function EquipBox() {
+function EquipBox(p) {
return
Weapon
![](https://i.imgur.com/uc1iBck.png)
Ophistia Shooter+35
@@ -158,7 +155,7 @@ function EquipBox() {
}
-function EquippedWeaponBox() {
+function EquippedWeaponBox(p) {
return
Ophistia Shooter+35
@@ -195,7 +192,7 @@ function EquippedWeaponBox() {
}
-function DamageBox() {
+function DamageBox(p) {
return
- 1
@@ -222,11 +219,16 @@ function ListRow(p) {
}
function App() {
+ const [author,setAuthor] = useState("Dudley")
+ const [buildName,setBuildName] = useState("Fatimah")
+ const [className,setClassName] = useState("RANGER")
+ const [secondaryClassName,setSecondaryClassName] = useState("FORCE")
+
return (
<>
-
+