Fix DOM property name warnings

This commit is contained in:
Dan Abramov
2022-04-03 20:26:43 +01:00
parent 2398d29f5f
commit 3abac3ebad
4 changed files with 8 additions and 8 deletions

View File

@@ -4,24 +4,24 @@ const TimelineLabels = ({ dims, timelabels }) => {
return (
<g>
<line
class="axisBoundaries"
className="axisBoundaries"
x1={dims.marginLeft}
x2={dims.marginLeft}
y1="10"
y2="20"
/>
<line
class="axisBoundaries"
className="axisBoundaries"
x1={dims.width - dims.width_controls}
x2={dims.width - dims.width_controls}
y1="10"
y2="20"
/>
<text class="timeLabel0 timeLabel" x="5" y="15">
<text className="timeLabel0 timeLabel" x="5" y="15">
{timelabels[0]}
</text>
<text
class="timelabelF timeLabel"
className="timelabelF timeLabel"
x={dims.width - dims.width_controls - 5}
y="135"
style={{ textAnchor: "end" }}