Skip to content

Commit

Permalink
Fix eslint no-unescaped-entities errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Eddasol committed Jan 17, 2025
1 parent d4b373e commit 87eb838
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion frontend/eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ export default [
{
rules: {
"react/react-in-jsx-scope": "off",
"react/no-unescaped-entities": "off",
"react/display-name": "off",
"@typescript-eslint/no-explicit-any": "off",
}
Expand Down
4 changes: 2 additions & 2 deletions frontend/src/components/Alerts/FailedMissionAlert.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ const FailedMission = ({ missions }: MissionsProps) => {

return (
<StyledButton onClick={goToMission} variant="ghost" color="secondary">
<strong>'{mission.name}'</strong> {TranslateText('failed on robot')}{' '}
<strong>'{mission.robot.name}':</strong> {mission.statusReason}
<strong>{`'${mission.name}'`}</strong> {TranslateText('failed on robot')}{' '}
<strong>{`'${mission.robot.name}'`}:</strong> {mission.statusReason}
</StyledButton>
)
}
Expand Down

0 comments on commit 87eb838

Please sign in to comment.