Add await to handleLaunch (#11649)

* Add async to handleLaunch

* Fix package-lock

Co-authored-by: Wambugu  Kironji <wkironji@redhat.com>
This commit is contained in:
Brandon Sharp 2022-02-11 13:40:20 -05:00 committed by GitHub
parent 9d0de57fae
commit ea09adbbf3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -61,7 +61,7 @@ function LaunchButton({ resource, children }) {
}
if (canLaunchWithoutPrompt(launch)) {
launchWithParams({});
await launchWithParams({});
} else {
setShowLaunchPrompt(true);
}