Fix the mechanical style rules. [skip build]
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user