ysulyma / desmos-react

React wrapper for Desmos
MIT License
9 stars 2 forks source link

When using GraphingCalculator, I get the error "ReferenceError: Desmos is not defined" #5

Closed danielfostiak closed 1 year ago

danielfostiak commented 1 year ago

Any help would be appreciated? Really love this tool, I used it a year ago and it worked but revisiting it it is throwing this error now. I even downgraded the version to see if that would fix it but that was no good either?

ysulyma commented 1 year ago

You need to include Desmos separately

<script src="https://www.desmos.com/api/v1.7/calculator.js?apiKey=dcb31709b452b1cf9dc26972add0fda6"></script>
danielfostiak commented 1 year ago

Thank you, I remember I did that last year. Thanks for the quick response, very much appreciated.