fix: resolve lint and formatting issues for quality checks
This commit is contained in:
1 parent
12cc25e49d
commit
f6cf0d13b7
2 files changed
+2
-4
No files matched your search
@@ -111,8 +111,7 @@ function BannerItem({ notification, onDismiss }: BannerItemProps) {
|
||||
{' ('}
|
||||
{notification.roomName && `#${notification.roomName}`}
|
||||
{notification.roomName && notification.serverName && ', '}
|
||||
{notification.serverName}
|
||||
{')'}
|
||||
{notification.serverName})
|
||||
</span>
|
||||
)}
|
||||
</Text>
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user