You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
A clear and concise description of what the bug is.
TypeError: Cannot assign to read only property 'data' of object '#'
I get this errror when i use update sheet method.
i tried to use immer to maintain object deep, but i got a same error.
why my error begin and how cam i resolve it?
<Workbookdata={scheduleData?.dataasany}ref={ref}onChange={(data)=>{if(ref.current){constupdatedData=produce(scheduleData.data,(draft)=>{data.forEach((newSheet,index)=>{draft[index]={
...draft[index],// 기존 데이터 유지
...newSheet,// 새로운 데이터로 업데이트};});});ref.current.updateSheet(updatedData);// 업데이트 호출}}}lang={lng}config={{cellTextOverflow: "visible",cellAutoWrap: true,readOnly: true,}}/>
To Reproduce
Steps to reproduce the behavior:
Go to '...'
Click on '....'
Scroll down to '....'
See error
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered:
Describe the bug
A clear and concise description of what the bug is.
TypeError: Cannot assign to read only property 'data' of object '#'
I get this errror when i use update sheet method.
i tried to use immer to maintain object deep, but i got a same error.
why my error begin and how cam i resolve it?
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: