Fix the mechanical style rules. [skip build]

This commit is contained in:
2026-11-01 09:01:32 +11:00
parent 831ce01150
commit 9591d8d01b
42 changed files with 762 additions and 756 deletions
+2 -2
View File
@@ -316,7 +316,7 @@ export function TitleBar({ mx, children }: TitleBarProps) {
// Subscribe to room changes for unread updates and new messages
useEffect(() => {
if (!mx) return;
if (!mx) return undefined;
const update = () => setUpdateCounter((c) => c + 1);
@@ -473,7 +473,7 @@ export function TitleBar({ mx, children }: TitleBarProps) {
// Clear notifications when user reads messages in a room
useEffect(() => {
if (!mx) return;
if (!mx) return undefined;
const handleReceipt = (event: MatrixEvent, room: Room) => {
const myUserId = mx.getUserId();