chore: Fixed linter warnings
This commit is contained in:
parent
56df5d5287
commit
2234155052
70 changed files with 103 additions and 309 deletions
|
@ -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)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue