1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-11 20:22:36 +03:00

Display button as inline in room directory dialog (#8164)

This commit is contained in:
Suguru Hirahara
2022-03-28 09:02:32 +00:00
committed by GitHub
parent 190968c73c
commit a7a0c55adf
2 changed files with 3 additions and 3 deletions

View File

@@ -727,9 +727,9 @@ export default class RoomDirectory extends React.Component<IProps, IState> {
</div>;
}
const explanation =
_t("If you can't find the room you're looking for, ask for an invite or <a>Create a new room</a>.", null,
_t("If you can't find the room you're looking for, ask for an invite or <a>create a new room</a>.", null,
{ a: sub => (
<AccessibleButton kind="secondary" onClick={this.onCreateRoomClick}>
<AccessibleButton kind="link_inline" onClick={this.onCreateRoomClick}>
{ sub }
</AccessibleButton>
) },