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;
|
let submitLogsButton;
|
||||||
if (SdkConfig.get().bug_report_endpoint_url) {
|
if (SdkConfig.get().bug_report_endpoint_url) {
|
||||||
submitLogsButton = <AccessibleButton kind="link" onClick={this.onBugReport}>
|
submitLogsButton = <>
|
||||||
{ _t("Submit logs") }
|
|
||||||
</AccessibleButton>;
|
<AccessibleButton kind="link" onClick={this.onBugReport}>
|
||||||
|
{ _t("Submit logs") }
|
||||||
|
</AccessibleButton>
|
||||||
|
</>;
|
||||||
}
|
}
|
||||||
|
|
||||||
let viewSourceButton;
|
let viewSourceButton;
|
||||||
if (mxEvent && SettingsStore.getValue("developerMode")) {
|
if (mxEvent && SettingsStore.getValue("developerMode")) {
|
||||||
viewSourceButton = <AccessibleButton onClick={this.onViewSource} kind="link">
|
viewSourceButton = <>
|
||||||
{ _t("View Source") }
|
|
||||||
</AccessibleButton>;
|
<AccessibleButton onClick={this.onViewSource} kind="link">
|
||||||
|
{ _t("View Source") }
|
||||||
|
</AccessibleButton>
|
||||||
|
</>;
|
||||||
}
|
}
|
||||||
|
|
||||||
return (<li className={classNames(classes)} data-layout={this.props.layout}>
|
return (<li className={classNames(classes)} data-layout={this.props.layout}>
|
||||||
|
|
Loading…
Reference in New Issue