diff --git a/web/src/pages/Profile.tsx b/web/src/pages/Profile.tsx index 1d97f58..058a111 100644 --- a/web/src/pages/Profile.tsx +++ b/web/src/pages/Profile.tsx @@ -115,8 +115,8 @@ export default function Profile() {

{user?.Email}

-

{recipes.length} recipes

-

{favorites.length} favorites

+

{recipes?.length ?? 0} recipes

+

{favorites?.length ?? 0} favorites

@@ -126,10 +126,10 @@ export default function Profile() {

My Recipes