Skip to content

Commit

Permalink
Removing unnecessary async/await in useClusters
Browse files Browse the repository at this point in the history
  • Loading branch information
simianhacker committed Oct 7, 2021
1 parent 6d733c6 commit 40a6d2e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export function useClusters(clusterUuid?: string | null, ccs?: any, codePaths?:
setClusters(response);
}
} catch (e) {
await handleRequestError(e);
handleRequestError(e);
} finally {
setLoaded(true);
}
Expand Down

0 comments on commit 40a6d2e

Please sign in to comment.