Remove retries for Welcome to Fleet host (#6999)

This commit is contained in:
RachelElysia 2022-08-02 10:09:59 -04:00 committed by GitHub
parent ebab3f04a7
commit c8c2dd97d3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

View File

@ -0,0 +1 @@
* Removes retries for API request for host on Welcome to Fleet card

View File

@ -57,6 +57,7 @@ const WelcomeHost = ({
["host"],
() => hostAPI.loadHostDetails(HOST_ID),
{
retry: false,
select: (data: IHostResponse) => data.host,
onSuccess: (returnedHost) => {
setShowRefetchLoadingSpinner(returnedHost.refetch_requested);