Closed julienvanbeveren closed 2 years ago
Never mind, I found it. For anyone wondering: Include the script in the header of your HTML file, add the config scripts in a useEffect on the feedback component and add the onClick handler provided in the docs on the button (in the react component). That makes it work.
I want to add this to my react application and when I add it to the index.html everything works but I only want this to be visible on some pages so I created a component including the scripts and button but using this method, nothing happens when I click on the "feedback" button.
Is there a way to fix this?