clean up EventTile:onWidgetLoad optional/required mess
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
parent
db55f87699
commit
ec4ec4717d
2 changed files with 5 additions and 3 deletions
|
@ -75,11 +75,8 @@ export default class ReplyPreview extends React.Component {
|
|||
<EventTile last={true}
|
||||
tileShape="reply_preview"
|
||||
mxEvent={this.state.event}
|
||||
onWidgetLoad={dummyOnWidgetLoad}
|
||||
isTwelveHour={SettingsStore.getValue("showTwelveHourTimestamps")} />
|
||||
</div>
|
||||
</div>;
|
||||
}
|
||||
}
|
||||
|
||||
function dummyOnWidgetLoad() {}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue