chartify icon indicating copy to clipboard operation
chartify copied to clipboard

Unable to load the chart due to error

Open spraveenitpro opened this issue 5 years ago • 1 comments

Describe the bug Getting this error: Line 23: Expected an assignment or function call and instead saw an expression

To Reproduce Steps to reproduce the behavior:

Direct Link

Expected behavior The chart being run as expected.

Screenshots

Desktop (please complete the following information):

  • OS: Mac Mojave
  • Browser Firefox dev 69

Additional context Error while trying to run the chart for the first time.

@kis

spraveenitpro avatar Aug 01 '19 06:08 spraveenitpro

you cannot put the JSX element lying around in the code. either use it as part of a component (function) or assign JSX element to some variable

aseerkt avatar Mar 10 '23 16:03 aseerkt