Fix unescaped apostrophe, fix missing jsx-key

This commit is contained in:
Xevion
2022-12-21 14:56:57 -06:00
parent b5a5b40678
commit 1e43c4239f
2 changed files with 4 additions and 5 deletions

View File

@@ -7,8 +7,8 @@ type SteppedSpanProps = {
const SteppedSpan: FunctionComponent<SteppedSpanProps> = ({children}: SteppedSpanProps) => {
return <div className="stepped">
{children.split('').map((char: string) => {
return <span>
{children.split('').map((char: string, index) => {
return <span key={index}>
{char}
</span>
})}