Commit 4ac41da
authored
fix: destructure AttachSession tuple correctly for buffer rendering (#53)
AttachSession returns a tuple [Session, buffer], not an object.
The previous fix accessed result.buffer which is undefined on a tuple.
Destructure as [, buffer] to get the second element.1 parent 349eeba commit 4ac41da
1 file changed
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
309 | 309 | | |
310 | 310 | | |
311 | 311 | | |
312 | | - | |
313 | | - | |
314 | | - | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
315 | 315 | | |
316 | 316 | | |
317 | 317 | | |
| |||
0 commit comments