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
Occurs if objects are set as defaults for props after closing and reopening the code editor. Then a comma is inserted wrong.
val isModalOpen:any=false;// goodcomponentHeader(default={"open": isModalOpen})=>(...)
val isModalOpen:any=false;// badcomponentHeader(default:any={,"open": isModalOpen,})=>(...)
If the comma gets removed one gets an unexpected error at the beginning of the document. Which is fixed if both commas are rmoved as in the good example.
The text was updated successfully, but these errors were encountered:
Occurs if objects are set as defaults for props after closing and reopening the code editor. Then a comma is inserted wrong.
If the comma gets removed one gets an unexpected error at the beginning of the document. Which is fixed if both commas are rmoved as in the good example.
The text was updated successfully, but these errors were encountered: