# The least ammount of code possible to reproduce my error
6900 lines. The error started popping up after I upgraded the version of this js.
# End of code
layout-card.js:61 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'map')
at HTMLElement._createCards (layout-card.js:61)
at async HTMLElement.updated (layout-card.js:61)
By putting an X in the boxes ([X]) below, I indicate that I:
[X] Understand that leaving one or more boxes unticked or failure to follow the template above may increase the time required to handle my bug-report, or cause it to be closed without further action.
My Home Assistant version: 2021.9.7
Layout-card version (FROM BROWSER CONSOLE): 2.3.1
layout-card.js:61 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'map') at HTMLElement._createCards (layout-card.js:61) at async HTMLElement.updated (layout-card.js:61)
By putting an X in the boxes ([X]) below, I indicate that I: