mirror of
https://github.com/Xevion/xevion.dev.git
synced 2025-12-12 20:13:41 -06:00
Fix unescaped apostrophe, fix missing jsx-key
This commit is contained in:
@@ -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>
|
||||
})}
|
||||
|
||||
Reference in New Issue
Block a user