mirror of
https://github.com/cinnyapp/cinny.git
synced 2025-11-06 15:30:27 +03:00
Remove unused
This commit is contained in:
parent
1a7e59641b
commit
4a1446ca74
1 changed files with 0 additions and 2 deletions
|
|
@ -724,12 +724,10 @@ export const Message = as<'div', MessageProps>(
|
||||||
const screenSize = useScreenSizeContext();
|
const screenSize = useScreenSizeContext();
|
||||||
const isMobile = screenSize === ScreenSize.Mobile;
|
const isMobile = screenSize === ScreenSize.Mobile;
|
||||||
const [isDesktopOptionsActive, setDesktopOptionsActive] = useState(false);
|
const [isDesktopOptionsActive, setDesktopOptionsActive] = useState(false);
|
||||||
//const showDesktopOptions = !isMobile && (isHovered || isFocusWithin || isDesktopOptionsActive);
|
|
||||||
const [isMobileSheetOpen, setMobileSheetOpen] = useState(false);
|
const [isMobileSheetOpen, setMobileSheetOpen] = useState(false);
|
||||||
const senderDisplayName =
|
const senderDisplayName =
|
||||||
getMemberDisplayName(room, senderId) ?? getMxIdLocalPart(senderId) ?? senderId;
|
getMemberDisplayName(room, senderId) ?? getMxIdLocalPart(senderId) ?? senderId;
|
||||||
const senderAvatarMxc = getMemberAvatarMxc(room, senderId);
|
const senderAvatarMxc = getMemberAvatarMxc(room, senderId);
|
||||||
const [view, setView] = useState('options');
|
|
||||||
|
|
||||||
const closeMenu = () => {
|
const closeMenu = () => {
|
||||||
setMenuAnchor(undefined);
|
setMenuAnchor(undefined);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue