I am working with Strapi, react.js and Apollo. My problem is that I have implemented the following event in the editor of Strapi:
onclick="window.trackDownload('mapal_mitte', 'MAPAL_Neuheiten-2021_EN')"
but the onclick event raises the following error :
Uncaught Error: Minified React error #231;
full message:
Expected onClick
listener to be a function, instead got a value of string
type.
Does anyone know what I did wrong?
Top comments (1)
No i dont know