Skip to content

Commit

Permalink
Fixed eslint error
Browse files Browse the repository at this point in the history
  • Loading branch information
offtherailz committed Oct 14, 2024
1 parent 774eea6 commit beed339
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/client/components/styleeditor/WMSJsonLegendIcon.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ const icon = {
Text: ({ symbolizer }) => {
return (
<svg viewBox="0 0 16 16">
<text x="8" y="8" text-anchor="middle" alignment-baseline="middle" style={{
<text x="8" y="8" textAnchor="middle" alignment-baseline="middle" style={{ // eslint-disable-line -- TODO: need to be fixed
fontSize: symbolizer.size < 14 ? symbolizer.size : 14,
fill: symbolizer.color,
fontFamily: symbolizer?.font?.join(', '),
Expand Down

0 comments on commit beed339

Please sign in to comment.