Skip to content

fix export usage#13

Open
imDrew259 wants to merge 1 commit intobchao1:masterfrom
imDrew259:master
Open

fix export usage#13
imDrew259 wants to merge 1 commit intobchao1:masterfrom
imDrew259:master

Conversation

@imDrew259
Copy link

Fixed the export default syntax.
// this is incorrect export syntax
export default data = [
...
]
The correct export syntax is

export default [

]
or, we can use
const data = [ ]
export default data

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant