Skip to content

Commit

Permalink
Use React fragments to avoid wrapping element
Browse files Browse the repository at this point in the history
  • Loading branch information
hanydd committed May 11, 2024
1 parent d3684db commit bb35d9e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/SponsorTimeEditComponent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ class SponsorTimeEditComponent extends React.Component<SponsorTimeEditProps, Spo
</input>

{this.state.selectedActionType !== ActionType.Poi ? (
<span>
<>
<span>
{" " + chrome.i18n.getMessage("to") + " "}
</span>
Expand All @@ -183,7 +183,7 @@ class SponsorTimeEditComponent extends React.Component<SponsorTimeEditProps, Spo
onClick={() => this.setTimeToEnd()}>
{chrome.i18n.getMessage("bracketEnd")}
</span>
</span>
</>
): ""}
</div>
);
Expand Down

0 comments on commit bb35d9e

Please sign in to comment.