Commit 59cab65
fix(table-dnd): convert draggableId to string for react-beautiful-dnd
react-beautiful-dnd requires draggableId to be a string, but the
component was passing numeric IDs directly, causing errors:
"Draggable requires a [string] draggableId"
Changes:
- Convert row.id to String(row.id) for draggableId and key props
- Update CellBaseType interface to accept string | number for id
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>1 parent 8c77ebb commit 59cab65
1 file changed
+5
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
47 | | - | |
| 47 | + | |
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
| |||
191 | 191 | | |
192 | 192 | | |
193 | 193 | | |
194 | | - | |
195 | | - | |
| 194 | + | |
| 195 | + | |
196 | 196 | | |
197 | 197 | | |
198 | 198 | | |
199 | 199 | | |
200 | 200 | | |
201 | | - | |
| 201 | + | |
202 | 202 | | |
203 | 203 | | |
204 | 204 | | |
205 | 205 | | |
206 | | - | |
| 206 | + | |
207 | 207 | | |
208 | 208 | | |
209 | 209 | | |
| |||
0 commit comments