Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Commit

Permalink
add spaces to TileErrorBoundary (#9012)
Browse files Browse the repository at this point in the history
  • Loading branch information
HarHarLinks authored Jul 11, 2022
1 parent a9d6896 commit 3855c44
Showing 1 changed file with 12 additions and 6 deletions.
18 changes: 12 additions & 6 deletions src/components/views/messages/TileErrorBoundary.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 = <>
&nbsp;
<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 = <>
&nbsp;
<AccessibleButton onClick={this.onViewSource} kind="link">
{ _t("View Source") }
</AccessibleButton>
</>;
}

return (<li className={classNames(classes)} data-layout={this.props.layout}>
Expand Down

0 comments on commit 3855c44

Please sign in to comment.