fix(lab): Issues after linter fixes
This commit is contained in:
parent
9fc3752d8d
commit
10adb33402
1 changed files with 2 additions and 4 deletions
|
@ -152,7 +152,7 @@ const Part = props => {
|
||||||
const partLayout= layout.parts[name]
|
const partLayout= layout.parts[name]
|
||||||
|
|
||||||
// Don't just assume this makes sense
|
// Don't just assume this makes sense
|
||||||
if (typeof layout.parts.[name].move?.x === 'undefined') return null
|
if (typeof layout.parts[name].move?.x === 'undefined') return null
|
||||||
|
|
||||||
// Use a ref for direct DOM manipulation
|
// Use a ref for direct DOM manipulation
|
||||||
const partRef = useRef(null)
|
const partRef = useRef(null)
|
||||||
|
@ -303,7 +303,7 @@ const Part = props => {
|
||||||
}
|
}
|
||||||
|
|
||||||
const Draft = props => {
|
const Draft = props => {
|
||||||
const { patternProps, gist, app, bgProps={} } = props
|
const { patternProps, gist, updateGist ,app, bgProps={} } = props
|
||||||
const { layout=false } = gist
|
const { layout=false } = gist
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
|
@ -404,8 +404,6 @@ const Draft = props => {
|
||||||
layout,
|
layout,
|
||||||
app,
|
app,
|
||||||
gist,
|
gist,
|
||||||
updateGist,
|
|
||||||
unsetGist,
|
|
||||||
updateLayout,
|
updateLayout,
|
||||||
}}/>
|
}}/>
|
||||||
)))}
|
)))}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue