1
0
Fork 0

lint fixes for react-components

This commit is contained in:
Enoch Riese 2023-06-07 10:06:30 -05:00
parent f27aacc152
commit 3503d97fae
18 changed files with 38 additions and 9 deletions

View file

@ -1,3 +1,4 @@
// eslint-disable-next-line no-unused-vars
import React from 'react'
import { getProps } from './utils.mjs'
@ -8,7 +9,7 @@ export const Stack = ({ stackName, stack, settings, components, t }) => {
<Group {...getProps(stack)}>
{settings[0].paperless ? <Grid {...{ stack, stackName }} /> : null}
{[...stack.parts].map((part, key) => (
<Part {...{ settings, components, t, part, stackName, key }} />
<Part {...{ settings, components, t, part, stackName }} key={key} />
))}
</Group>
)