Creating a deleteDestination function
In your frontend, call the
useDeleteDestination hook to generate a function that fetches a scoped auth token and uses it to delete the destination scoped by the token. Use one of the fetchToken functions you wrote in Building an “Add Destination” connection form here to create one.Create deleteDestination