-
-
Notifications
You must be signed in to change notification settings - Fork 259
Open
Open
Copy link
Labels
Description
User reports: When trying to open the board "665f3ff1d4f7f0001ce1c994", the app crashes and shows the following error in the console:
LanguageProvider.container.js:61 TypeError: Cannot destructure property 'label' of 'e' as it is null.
Stacktrace:
- at c (helpers.js:60:36)
- at Board.component.js:207:16
- at Array.map ()
- at dF.renderTiles (Board.component.js:204:18)
- at dF.render (Board.component.js:336:24)
Updates:
- The error occurs if the board is not fixed and one of its tiles has no ID (strange, they should always have one).
- It does not seem directly related to the helper function, which accesses
labelandlabelKey, notid.
Actions to review:
- Check if the ID is a mandatory parameter for all tiles.
- Investigate why a tile could have been created without an ID.
- Analyze why the function that returns the translation breaks the whole app when destructuring.
Notes:
- The error only occurs in non-fixed boards when a tile has no ID.
- The flow for creating and managing tiles should be reviewed to prevent this issue in the future.