diff --git a/src/Components/Notifications.tsx b/src/Components/Notifications.tsx index 3dab6b6..b49ee24 100644 --- a/src/Components/Notifications.tsx +++ b/src/Components/Notifications.tsx @@ -48,18 +48,22 @@ export default function Notifications() { > {notificationsLoaded ? ( <> - {notifications - ? notifications.map((message: any, index) => ( - - )) - : "NO MESSAGES"} + {notifications.length > 0 ? ( + notifications.map((message: any, index) => ( + + )) + ) : ( + + Keine Nachrichten + + )} ) : (