wip(lab): Working on crash reporting in the new dev env
This commit is contained in:
parent
f100691a92
commit
8a2a13f240
7 changed files with 164 additions and 61 deletions
|
@ -152,7 +152,7 @@ const Part = props => {
|
|||
const partLayout= layout.parts[name]
|
||||
|
||||
// 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
|
||||
const partRef = useRef(null)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue