QOL changes to client (#165)

This commit is contained in:
onespaceman 2026-01-21 16:03:27 -05:00 committed by GitHub
parent e7ba34710c
commit c59c6c3baa
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 46 additions and 30 deletions

View file

@ -20,7 +20,7 @@ export default function DeleteModal({ open, setOpen, title, id, type }: Props) {
setLoading(true);
deleteItem(type.toLowerCase(), id).then((r) => {
if (r.ok) {
navigate("/");
navigate(-1);
} else {
console.log(r);
}