Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Fix block/inline Element descendants error noise in NewRoomIntro.tsx #10412

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/components/views/rooms/NewRoomIntro.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ const NewRoomIntro: React.FC = () => {
{ topic },
{
a: (sub) => (
<AccessibleButton kind="link_inline" onClick={onTopicClick}>
<AccessibleButton element="a" kind="link_inline" onClick={onTopicClick}>
{sub}
</AccessibleButton>
),
Expand All @@ -155,7 +155,7 @@ const NewRoomIntro: React.FC = () => {
{},
{
a: (sub) => (
<AccessibleButton kind="link_inline" onClick={onTopicClick}>
<AccessibleButton element="a" kind="link_inline" onClick={onTopicClick}>
{sub}
</AccessibleButton>
),
Expand Down