Changed: Show newly created material groups first and place uncategor -
All checks were successful
Automated Container Build / build-and-push (push) Successful in 1m8s

This commit is contained in:
Elijah 2026-08-01 08:48:26 -07:00
parent c3c26718f9
commit faaccf8a7e
4 changed files with 4 additions and 4 deletions

View file

@ -250,7 +250,7 @@ export default function FlashcardsPage() {
});
if (res.ok) {
const g = await res.json();
setGroups((prev) => [...prev, g]);
setGroups((prev) => [g, ...prev]);
setIsCreatingGroup(false);
setNewGroupName("");
}

View file

@ -237,7 +237,7 @@ export default function QuizzesPage() {
});
if (res.ok) {
const g = await res.json();
setGroups((prev) => [...prev, g]);
setGroups((prev) => [g, ...prev]);
setIsCreatingGroup(false);
setNewGroupName("");
}