chore(react-components): Tweaks to pattern
This commit is contained in:
parent
ab6511f4b9
commit
57457ee841
2 changed files with 5 additions and 2 deletions
|
@ -7,7 +7,8 @@ const grids = {
|
|||
}
|
||||
|
||||
export const Defs = (props) => {
|
||||
let defs = props.svg.defs.render()
|
||||
if (!props.svg) return null
|
||||
let defs = props.svg.defs.forSvg
|
||||
if (props.settings[0].paperless) {
|
||||
defs += grids[props.settings[0].units || 'metric']
|
||||
for (let p in props.parts[0]) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue