Hi, I am getting
[rollup-plugin-dynamic-import-variables] Unexpected token (19:21)
for the following code in my app.js file:
import React from 'react'
import ReactDataGrid from '@inovua/reactdatagrid-enterprise'
import '@inovua/reactdatagrid-enterprise/index.css'
const columns = [
{ name: 'name', header: 'Name', minWidth: 50, defaultFlex: 2 },
{ name: 'age', header: 'Age', maxWidth: 1000, defaultFlex: 1 }
]
const gridStyle = { minHeight: 550 }
const dataSource = [
{ id: 1, name: 'John McQueen', age: 35 },
{ id: 2, name: 'Mary Stones', age: 25 },
{ id: 3, name: 'Robert Fil', age: 27 },
{ id: 17, name: 'Johny Perterson', age: 40 }
]
export default () => <ReactDataGrid
idProperty="id"
columns={columns}
dataSource={dataSource}
style={gridStyle}
/>
(line refers to the export default () section)
Any input on what I could be doing wrong or steps to fix? Thank you!
Video for context: https://share.getcloudapp.com/8Luq4Z8G
Full error stack trace: https://gist.github.com/HeadStudios/04bc413501b502bbe165db5c12905661
Thank you!