Updates all libraries and some cleanup in the Rust part.

This commit is contained in:
2022-06-03 19:49:51 +02:00
parent 5ace39d820
commit 34737bfb6b
7 changed files with 212 additions and 354 deletions

View File

@@ -17,9 +17,6 @@ function App() {
const [games, setGames] = useState([]);
const [activeGamenightId, setActiveGamenightId] = useState(null);
const POST_HEADER = {'Content-Type': 'application/json'};
const AUTH_HEADER = {'Authorization': `Bearer ${user?.jwt}`};
const handleLogin = (input) => {
unpack_api_result(login(input), setFlashData)
.then(result => {