@@ -109,9 +109,11 @@ export default function ChatContainer(props: Props) {
}
function isSameUserAsLast(messages: ChatMessage[], index: number) {
- const message = messages[index]
- const { user: { id }} = message
- const lastMessage = messages[index - 1]
-
- return id === lastMessage?.user.id
+ const message = messages[index];
+ const {
+ user: { id },
+ } = message;
+ const lastMessage = messages[index - 1];
+
+ return id === lastMessage?.user.id;
}
diff --git a/web/components/ui/ModIcon.tsx b/web/components/ui/ModIcon.tsx
index f0b2ed012..2cacd2d3e 100644
--- a/web/components/ui/ModIcon.tsx
+++ b/web/components/ui/ModIcon.tsx
@@ -11,7 +11,7 @@ export default function ModIcon({
viewBox="0 0 24 24"
xmlns="http://www.w3.org/2000/svg"
>
-
This user has moderation rights
+
This user has moderation rights