mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-03-18 23:44:12 +01:00
Add mutationKey everywhere
This commit is contained in:
@@ -14,6 +14,7 @@ export function useCreateEnvironment() {
|
||||
const queryClient = useQueryClient();
|
||||
|
||||
return useMutation<Environment, unknown, void>({
|
||||
mutationKey: ['create_environment'],
|
||||
mutationFn: async () => {
|
||||
const name = await prompt({
|
||||
id: 'new-environment',
|
||||
|
||||
Reference in New Issue
Block a user