From f6cf0d13b7a2655dc7e81df874fdf3f2b5899384 Mon Sep 17 00:00:00 2001 From: Evie Gauthier Date: Thu, 5 Mar 2026 00:57:08 -0500 Subject: [PATCH] fix: resolve lint and formatting issues for quality checks --- src/app/components/notification-banner/NotificationBanner.tsx | 3 +-- src/app/pages/client/ClientNonUIFeatures.tsx | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/src/app/components/notification-banner/NotificationBanner.tsx b/src/app/components/notification-banner/NotificationBanner.tsx index 6732a1fe..ad0ba026 100644 --- a/src/app/components/notification-banner/NotificationBanner.tsx +++ b/src/app/components/notification-banner/NotificationBanner.tsx @@ -111,8 +111,7 @@ function BannerItem({ notification, onDismiss }: BannerItemProps) { {' (​'} {notification.roomName && `#${notification.roomName}`} {notification.roomName && notification.serverName && ', '} - {notification.serverName} - {')'} + {notification.serverName}) )} diff --git a/src/app/pages/client/ClientNonUIFeatures.tsx b/src/app/pages/client/ClientNonUIFeatures.tsx index e067c2ce..f3bbfb26 100644 --- a/src/app/pages/client/ClientNonUIFeatures.tsx +++ b/src/app/pages/client/ClientNonUIFeatures.tsx @@ -293,8 +293,7 @@ function MessageNotifications() { const capturedEventId = eventId; const capturedUserId = mx.getUserId() ?? undefined; const canonicalAlias = room.getCanonicalAlias(); - const serverName = - canonicalAlias?.split(':')[1] ?? room.roomId.split(':')[1] ?? undefined; + const serverName = canonicalAlias?.split(':')[1] ?? room.roomId.split(':')[1] ?? undefined; setInAppBanner({ id: eventId, title: payload.title,