mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-15 12:45:11 +08:00
Changes from PR feedback
This commit is contained in:
parent
050c6cf72f
commit
df39c3a281
@ -14,7 +14,7 @@ Getting started
|
|||||||
6. Wait a few seconds for the initial build to finish.
|
6. Wait a few seconds for the initial build to finish.
|
||||||
7. Open http://127.0.0.1:8080/ in your browser to see your newly built Vector.
|
7. Open http://127.0.0.1:8080/ in your browser to see your newly built Vector.
|
||||||
|
|
||||||
Wiht `npm start`, Any changes you make to the source files will cause a rebuild so
|
With `npm start`, any changes you make to the source files will cause a rebuild so
|
||||||
your changes will show up when you refresh.
|
your changes will show up when you refresh.
|
||||||
|
|
||||||
For production use, run `npm run build` to build all the necessary files
|
For production use, run `npm run build` to build all the necessary files
|
||||||
|
@ -33,8 +33,6 @@ module.exports = React.createClass({
|
|||||||
var text = TextForEvent.textForEvent(this.props.mxEvent);
|
var text = TextForEvent.textForEvent(this.props.mxEvent);
|
||||||
if (text == null || text.length == 0) return null;
|
if (text == null || text.length == 0) return null;
|
||||||
|
|
||||||
var MessageTimestamp = sdk.getComponent('atoms.MessageTimestamp');
|
|
||||||
var MemberAvatar = sdk.getComponent('atoms.MemberAvatar');
|
|
||||||
var timestamp = this.props.last ? <MessageTimestamp ts={this.props.mxEvent.getTs()} /> : null;
|
var timestamp = this.props.last ? <MessageTimestamp ts={this.props.mxEvent.getTs()} /> : null;
|
||||||
var avatar = this.props.mxEvent.sender ? <MemberAvatar member={this.props.mxEvent.sender} /> : null;
|
var avatar = this.props.mxEvent.sender ? <MemberAvatar member={this.props.mxEvent.sender} /> : null;
|
||||||
return (
|
return (
|
||||||
|
@ -18,11 +18,9 @@ limitations under the License.
|
|||||||
|
|
||||||
var React = require('react');
|
var React = require('react');
|
||||||
|
|
||||||
//var RoomCreateController = require('matrix-react-sdk/lib/controllers/molecules/RoomCreateController')
|
|
||||||
|
|
||||||
module.exports = React.createClass({
|
module.exports = React.createClass({
|
||||||
displayName: 'RoomCreate',
|
displayName: 'RoomCreate',
|
||||||
// mixins: [RoomCreateController],
|
|
||||||
render: function() {
|
render: function() {
|
||||||
return (
|
return (
|
||||||
<div className="mx_RoomCreate">
|
<div className="mx_RoomCreate">
|
||||||
|
Loading…
Reference in New Issue
Block a user