mirror of https://github.com/vector-im/riot-web
add spaces to TileErrorBoundary (#9012)
parent
a9d6896502
commit
3855c44299
|
@ -76,16 +76,22 @@ export default class TileErrorBoundary extends React.Component<IProps, IState> {
|
|||
|
||||
let submitLogsButton;
|
||||
if (SdkConfig.get().bug_report_endpoint_url) {
|
||||
submitLogsButton = <AccessibleButton kind="link" onClick={this.onBugReport}>
|
||||
submitLogsButton = <>
|
||||
|
||||
<AccessibleButton kind="link" onClick={this.onBugReport}>
|
||||
{ _t("Submit logs") }
|
||||
</AccessibleButton>;
|
||||
</AccessibleButton>
|
||||
</>;
|
||||
}
|
||||
|
||||
let viewSourceButton;
|
||||
if (mxEvent && SettingsStore.getValue("developerMode")) {
|
||||
viewSourceButton = <AccessibleButton onClick={this.onViewSource} kind="link">
|
||||
viewSourceButton = <>
|
||||
|
||||
<AccessibleButton onClick={this.onViewSource} kind="link">
|
||||
{ _t("View Source") }
|
||||
</AccessibleButton>;
|
||||
</AccessibleButton>
|
||||
</>;
|
||||
}
|
||||
|
||||
return (<li className={classNames(classes)} data-layout={this.props.layout}>
|
||||
|
|
Loading…
Reference in New Issue