fixed route Notification
All checks were successful
Build frontend / build (push) Successful in 1m33s

This commit is contained in:
hamzaobed7
2026-08-26 20:50:25 +03:00
parent 3472dc1175
commit d65acbcc8f
4 changed files with 17 additions and 6 deletions

View File

@ -9,7 +9,7 @@ export default function useAuth() {
name: authUser?.name ?? "Not found",
email: authUser?.email ?? "Not found",
isOwner: role?.includes("Owner"),
isAgent: role?.includes("RealEstateAgent",""),
isAgent: role?.includes("RealEstateAgent"),
isCustomer: role?.includes("Customer"),
role: role,
isGuest: !authUser,