fix: remove unused useRoomName import, run prettier on all changed files

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-06-01 21:38:35 -04:00
parent 16dddcb9f0
commit fc9ba03943
8 changed files with 394 additions and 222 deletions
+18 -2
View File
@@ -1,6 +1,16 @@
import React, { useCallback, useState } from 'react';
import FocusTrap from 'focus-trap-react';
import { Avatar, Box, Button, Overlay, OverlayBackdrop, OverlayCenter, Spinner, Text, as } from 'folds';
import {
Avatar,
Box,
Button,
Overlay,
OverlayBackdrop,
OverlayCenter,
Spinner,
Text,
as,
} from 'folds';
import { Room } from 'matrix-js-sdk';
import { useAtomValue } from 'jotai';
import { IRoomCreateContent, Membership, StateEvent } from '../../../types/matrix/room';
@@ -98,7 +108,13 @@ export const RoomIntro = as<'div', RoomIntroProps>(({ room, ...props }, ref) =>
onClick={() => setViewTopic(true)}
size="T400"
priority="400"
style={{ background: 'none', border: 'none', padding: 0, cursor: 'pointer', textAlign: 'left' }}
style={{
background: 'none',
border: 'none',
padding: 0,
cursor: 'pointer',
textAlign: 'left',
}}
>
{topic.topic}
</Text>