deep-foundation / deep-foundation/deepcase
`Error: id === undefined` when X button (deletion of traveler) is clicked
- Dominant language
- TypeScript
- Stars
- 7
- Forks
- 6
- PR merge metrics
- No merged PRs in 30d
Description

```
4915-f47c93293c400374.js:104 Uncaught (in promise) Error: id === undefined
at D (4915-f47c93293c400374.js:104:9244)
at 4915-f47c93293c400374.js:104:9111
at Array.map ()
at D (4915-f47c93293c400374.js:104:9104)
at D (4915-f47c93293c400374.js:104:10625)
at N (4915-f47c93293c400374.js:104:11176)
at F. (4915-f47c93293c400374.js:104:17283)
at Generator.next ()
at 4915-f47c93293c400374.js:104:6996
at new Promise ()
D @ 4915-f47c93293c400374.js:104
(anonymous) @ 4915-f47c93293c400374.js:104
D @ 4915-f47c93293c400374.js:104
D @ 4915-f47c93293c400374.js:104
N @ 4915-f47c93293c400374.js:104
(anonymous) @ 4915-f47c93293c400374.js:104
(anonymous) @ 4915-f47c93293c400374.js:104
k @ 4915-f47c93293c400374.js:104
delete @ 4915-f47c93293c400374.js:104
onClick @ 9241.c35727e1f3104f78.js:1
eU @ framework-ce84985cd166733a.js:9
eH @ framework-ce84985cd166733a.js:9
(anonymous) @ framework-ce84985cd166733a.js:9
re @ framework-ce84985cd166733a.js:9
rn @ framework-ce84985cd166733a.js:9
(anonymous) @ framework-ce84985cd166733a.js:9
oP @ framework-ce84985cd166733a.js:9
eF @ framework-ce84985cd166733a.js:9
ro @ framework-ce84985cd166733a.js:9
nU @ framework-ce84985cd166733a.js:9
nD @ framework-ce84985cd166733a.js:9
```
Checklist
- [X] `imports/cyto/editor.tsx` ✅ Commit [`a323238`](https://github.com/deep-foundation/deepcase/commit/a323238cc5f0b5ffd17b78d6835fe0a58b04d651)
• Locate the click event handler for the 'X' button.
• Trace back how the ID is passed to the deletion function in this event handler.
• If the ID is found to be undefined, identify where and why this is happening.
• Add checks or safeguards to ensure the ID is properly set and passed, or fix any bugs or issues that are causing the ID to be lost or not set correctly.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.