Delete admin
Some checks failed
Build frontend / build (push) Failing after 1m20s

This commit is contained in:
Rahaf
2026-06-10 19:50:49 +03:00
parent 34da1314d4
commit 71b1a71904
21 changed files with 128 additions and 4940 deletions

View File

@ -26,10 +26,11 @@ export default function PaymentsPage() {
const [payingId, setPayingId] = useState(null);
useEffect(() => {
if (AuthService.isAdmin()) {
router.push('/');
return;
}
// Admin check removed
// if (AuthService.isAdmin()) {
// router.push('/');
// return;
// }
loadReservations();
}, [router]);