mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-04-18 14:59:42 +02:00
Add mutationKey everywhere
This commit is contained in:
@@ -12,6 +12,7 @@ export function useCreateCookieJar() {
|
||||
const prompt = usePrompt();
|
||||
|
||||
return useMutation<CookieJar>({
|
||||
mutationKey: ['create_cookie_jar'],
|
||||
mutationFn: async () => {
|
||||
if (workspaceId === null) {
|
||||
throw new Error("Cannot create cookie jar when there's no active workspace");
|
||||
|
||||
Reference in New Issue
Block a user