I am trying to populated my URL with selectedAsset within the useEffect. I want to be able to check if SelectedAsset has been clicked first before firing the use effect and