1
0
Fork 0
mirror of synced 2024-06-26 10:00:41 +12:00

Null safety

This commit is contained in:
Mel O'Hagan 2022-08-19 14:52:50 +01:00
parent 8056a4594d
commit 27216ca499

View file

@ -14,7 +14,7 @@
$: {
let fields = {}
for (const [key, type] of Object.entries(block?.inputs?.fields)) {
for (const [key, type] of Object.entries(block?.inputs?.fields ?? {})) {
fields = {
...fields,
[key]: {