mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-11-20 07:21:35 +01:00
Fix prompt again
This commit is contained in:
1 parent
7e62bb6b68
commit
e5c6c31e02
1 file changed
+4
-1
@@ -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