1
0
Fork 0

wip(lab): Working on crash reporting in the new dev env

This commit is contained in:
Joost De Cock 2022-03-18 19:11:00 +01:00
parent f100691a92
commit 8a2a13f240
7 changed files with 164 additions and 61 deletions

View file

@ -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)