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

View File

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