1
0
Fork 0

chore: Fixed linter warnings

This commit is contained in:
Joost De Cock 2022-01-20 09:07:38 +01:00
parent 56df5d5287
commit 2234155052
70 changed files with 103 additions and 309 deletions

View file

@ -44,7 +44,6 @@ const Pattern = props => {
children=null,
options = {},
measurements = { head: 390},
settings,
part = '',
sample,
svgOnly=false,
@ -85,10 +84,10 @@ const Pattern = props => {
}
/* Set up settings object */
settings = {
const settings = {
options: { ...options },
measurements: { ...measurements },
...settings
...props.settings
}
// Support for options_ prefix
for (const [key, val] of Object.entries(props)) {