I am trying to load a JavaScript code on my gatsby app. Inside my static folder on my root folder I created a code called script.js. Here\'s the snippet inside:
script.js