Remove usage of the size prop.

You can have it any size you like as long as it's 8px.
This commit is contained in:
David Baker
2026-06-08 10:09:51 +01:00
parent 0409f2d117
commit 2fa09e2939
2 changed files with 2 additions and 2 deletions
@@ -462,7 +462,7 @@ export default function RoomHeader({
<>
<CurrentRightPanelPhaseContextProvider roomId={room.roomId}>
<Flex as="header" align="center" gap="var(--cpd-space-3x)" className="mx_RoomHeader light-panel">
<WithPresenceIndicator room={room} size="8px">
<WithPresenceIndicator room={room}>
{/* We hide this from the tabIndex list as it is a pointer shortcut and superfluous for a11y */}
{/* Disable on-click actions until the room is created */}
<RoomAvatar
@@ -32,7 +32,7 @@ describe("WithPresenceIndicator", () => {
function renderComponent() {
return render(
<WithPresenceIndicator room={room} size="32px">
<WithPresenceIndicator room={room}>
<span />
</WithPresenceIndicator>,
);