[Bug]: Allow space before 'export default{}' #33984
Labels
Bug
Something isn't working
Javascript Product
Issues related to users writing javascript in appsmith
JS Objects
Issues related to JS Objects
Medium
Issues that frustrate users due to poor UX
Query & JS Pod
Issues related to the query & JS Pod
Query Widgets & IDE Pod
All issues related to Query, JS, Eval, Widgets & IDE
Is there an existing issue for this?
Description
In JS object, if one adds an empty space before "export default {}", it throws an error saying

Start object with export default at: undefined
. We should allow users to add space before object startsSteps To Reproduce
Public Sample App
No response
Environment
Production
Severity
Low (Cosmetic UI issues)
Issue video log
No response
Version
CLoud
The text was updated successfully, but these errors were encountered: