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
@react-refresh:267 React Router caught the following error during render TypeError: Cannot assign to read only property 'width' of object '#<Object>'
at Icon.tsx:31:13
at renderWithHooks (react-dom.development.js:16305:18)
at updateForwardRef (react-dom.development.js:19226:20)
at beginWork (react-dom.development.js:21636:16)
at beginWork$1 (react-dom.development.js:27426:14)
at performUnitOfWork (react-dom.development.js:26557:12)
at workLoopSync (react-dom.development.js:26466:5)
at renderRootSync (react-dom.development.js:26434:7)
at recoverFromConcurrentError (react-dom.development.js:25850:20)
at performSyncWorkOnRoot (react-dom.development.js:26096:20)
If
size
is specified together with a read onlystyle
the component breaks.The code bellow will produce this error:
Cannot assign to read only property 'width' of object '#<Object>' icon
App.tsx
This issue seems to be triggered by mutating the
style
object inIcon.tsx
L31The text was updated successfully, but these errors were encountered: