forked from FoundKeyGang/FoundKey
remove async from ok()
This commit is contained in:
parent
95148cf647
commit
bbb16208ab
1 changed files with 1 additions and 1 deletions
|
@ -68,7 +68,7 @@ function done(canceled: boolean, result?: string): void {
|
|||
modal.close();
|
||||
}
|
||||
|
||||
async function ok(): Promise<void> {
|
||||
function ok(): void {
|
||||
if (!props.showOkButton) return;
|
||||
|
||||
const result = inputValue;
|
||||
|
|
Loading…
Reference in a new issue