mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-04-09 18:53:38 +02:00
Make prompt() to return null on cancel
This commit is contained in:
@@ -64,6 +64,7 @@ export function CookieDropdown() {
|
||||
placeholder: 'New name',
|
||||
defaultValue: activeCookieJar?.name,
|
||||
});
|
||||
if (name == null) return;
|
||||
updateCookieJar.mutate({ name });
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user