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
HanYaodong committed Jun 4, 2024
1 parent 15fcc97 commit e058cca
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 e058cca

Please sign in to comment.