diff --git a/frontend/src/pages/my-account/MyAccount.jsx b/frontend/src/pages/my-account/MyAccount.jsx index bd3a5e7..534e8eb 100644 --- a/frontend/src/pages/my-account/MyAccount.jsx +++ b/frontend/src/pages/my-account/MyAccount.jsx @@ -19,16 +19,37 @@ const MyAccount = () => { switch (tabValue) { case 'Workshops': if (workshops) { + if (workshops.length === 0) { + return ( + + You are not registered in any workshop! + + ); + } return ; } break; case 'Presentations': if (talks) { + if (talks.length === 0) { + return ( + + You are not registered in any presentation! + + ); + } return ; } break; case 'Cart': if (cart) { + if (cart.length === 0) { + return ( + + Your cart is empty! + + ); + } return ; } break;