mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-01-11 20:00:29 +01:00
Fix prompt again
This commit is contained in:
@@ -27,7 +27,10 @@ export function usePrompt() {
|
||||
resolve(null);
|
||||
hide();
|
||||
},
|
||||
onResult: resolve,
|
||||
onResult: (v) => {
|
||||
resolve(v);
|
||||
hide();
|
||||
},
|
||||
...props,
|
||||
}),
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user