We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4b939f0 commit 34ba7f5Copy full SHA for 34ba7f5
packages/smooth-code/src/smooth-lines.tsx
@@ -133,7 +133,7 @@ function LineGroup({
133
const opacity = getOpacity(focused, t, dx)
134
135
return (
136
- <>
+ <React.Fragment key={key}>
137
{/* <span
138
style={{
139
top: 0,
@@ -147,7 +147,6 @@ function LineGroup({
147
13
148
</span> */}
149
<LineContainer
150
- key={key}
151
dx={startX + dx * focusWidth}
152
dy={(dy - startY) * lineHeight}
153
width={focusWidth}
@@ -159,7 +158,7 @@ function LineGroup({
159
158
dx={dx}
160
/>
161
</LineContainer>
162
- </>
+ </React.Fragment>
163
)
164
})}
165
</>
0 commit comments