diff --git a/backup_class_selctor_stuff_lol b/backup_class_selctor_stuff_lol index 17c3c77..5053a57 100644 --- a/backup_class_selctor_stuff_lol +++ b/backup_class_selctor_stuff_lol @@ -28,4 +28,24 @@ function ClassSelectorWindow(p) { {Object.keys(p.GetData("class")).map((cl)=>
  • {cl}
  • )} - \ No newline at end of file + + + + + + + +function ClassSelector(p){ + const CLASSES = p.GetData("class") + const wrapperRef = useRef(null); + useOutsideAlerter(wrapperRef,p.setEdit); + return <>
    + Class Selector
    +
    + {Object.keys(CLASSES).map((cl,i)=>{ + return + })} +
    +
    + +} \ No newline at end of file diff --git a/src/App.js b/src/App.js index 1744e5f..7b91fe4 100644 --- a/src/App.js +++ b/src/App.js @@ -379,7 +379,7 @@ function AdminPanel(p) { return
    {!verified? -
    +
    {setPassword(f.currentTarget.value)}} onKeyDown={(e)=>{ if (e.key==="Enter") { @@ -398,7 +398,7 @@ function AdminPanel(p) {
    :<> -
    Testing Mode {p.setTESTMODE(f.target.checked)}}/> {p.TESTMODE?ON:OFF}
    +
    Testing Mode {p.setTESTMODE(f.target.checked)}}/> {p.TESTMODE?ON:OFF}
    {navigationData.map((nav)=>(nav.hr)?
    :<>{nav.page}
    )} Database Manager