mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-16 13:14:58 +08:00
add spaces to TileErrorBoundary (#9012)
This commit is contained in:
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}>
|
||||
{ _t("Submit logs") }
|
||||
</AccessibleButton>;
|
||||
submitLogsButton = <>
|
||||
|
||||
<AccessibleButton kind="link" onClick={this.onBugReport}>
|
||||
{ _t("Submit logs") }
|
||||
</AccessibleButton>
|
||||
</>;
|
||||
}
|
||||
|
||||
let viewSourceButton;
|
||||
if (mxEvent && SettingsStore.getValue("developerMode")) {
|
||||
viewSourceButton = <AccessibleButton onClick={this.onViewSource} kind="link">
|
||||
{ _t("View Source") }
|
||||
</AccessibleButton>;
|
||||
viewSourceButton = <>
|
||||
|
||||
<AccessibleButton onClick={this.onViewSource} kind="link">
|
||||
{ _t("View Source") }
|
||||
</AccessibleButton>
|
||||
</>;
|
||||
}
|
||||
|
||||
return (<li className={classNames(classes)} data-layout={this.props.layout}>
|
||||
|
Loading…
Reference in New Issue
Block a user