screenshots and slight chnages

This commit is contained in:
Thegan Govender
2023-04-03 11:59:25 +02:00
parent 10983421a0
commit e9c457aaee
6 changed files with 2 additions and 2 deletions

BIN
screenshots/Activity.PNG Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 55 KiB

BIN
screenshots/Home.PNG Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 517 KiB

BIN
screenshots/Libraries.PNG Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 455 KiB

BIN
screenshots/Users.PNG Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 71 KiB

BIN
screenshots/stats.PNG Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 88 KiB

View File

@@ -11,7 +11,7 @@ function Login() {
const [config, setConfig] = useState(null);
const [formValues, setFormValues] = useState({});
const [processing, setProcessing] = useState(false);
const [submitButtonText, setsubmitButtonText] = useState("Save");
const [submitButtonText, setsubmitButtonText] = useState("Login");
function handleFormChange(event) {
setFormValues({ ...formValues, [event.target.name]: event.target.value });
@@ -40,7 +40,7 @@ function Login() {
.then(async (response) => {
localStorage.setItem('token',response.data.token);
setsubmitButtonText("Settings Saved");
setsubmitButtonText("Success");
setProcessing(false);
window.location.reload();
return;