Some fixes around environments

This commit is contained in:
Gregory Schier
2024-12-21 11:04:49 -08:00
parent c1d5881167
commit 61d094d9fd
20 changed files with 95 additions and 46 deletions

View File

@@ -13,6 +13,7 @@ export function useUpdateEnvironment(id: string | null) {
unknown,
Partial<Environment> | ((r: Environment) => Environment)
>({
toastyError: true,
mutationKey: ['update_environment', id],
mutationFn: async (v) => {
const environment = await getEnvironment(id);