app stuck on blur when engine errors (#682)

* temp fix for when engine returns error

* don't add extrued to show function
This commit is contained in:
Kurt Hutten
2023-09-21 14:32:47 +10:00
committed by GitHub
parent 04e1b92a5b
commit 27227092b1
3 changed files with 43 additions and 3 deletions

View File

@ -50,7 +50,7 @@ export const MemoryPanel = ({
export const processMemory = (programMemory: ProgramMemory) => {
const processedMemory: any = {}
Object.keys(programMemory.root).forEach((key) => {
Object.keys(programMemory?.root || {}).forEach((key) => {
const val = programMemory.root[key]
if (typeof val.value !== 'function') {
if (val.type === 'SketchGroup') {