remove async from ok()

This commit is contained in:
Norm 2022-07-23 16:10:47 -04:00 committed by Gitea
parent 95148cf647
commit bbb16208ab

View file

@ -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;