I\'m trying to have my Spinner component show only before the API data is loaded, otherwise it should be hidden. I created a variable called value and set it to true