You've already forked element-web
mirror of
https://github.com/element-hq/element-web.git
synced 2025-12-01 09:58:03 +03:00
Pass SimpleRoomHeader title in as a named property
... rather than a child
This commit is contained in:
@@ -331,9 +331,7 @@ module.exports = React.createClass({
|
||||
|
||||
return (
|
||||
<div className="mx_UserSettings">
|
||||
<SimpleRoomHeader>
|
||||
Settings
|
||||
</SimpleRoomHeader>
|
||||
<SimpleRoomHeader title="Settings"/>
|
||||
|
||||
<GeminiScrollbar className="mx_UserSettings_body" autoshow={true}>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user