1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-07-19 13:29:41 +02:00

refactor(docker/services): migrate scale form to react [EE-6057] (#10208)

This commit is contained in:
Chaim Lev-Ari 2023-09-04 20:24:41 +01:00 committed by GitHub
parent f7366d9788
commit e82b34b775
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
19 changed files with 543 additions and 180 deletions

View file

@ -29,7 +29,7 @@ type OptionalReadonly<T> = T | Readonly<T>;
export function withInvalidate(
queryClient: QueryClient,
queryKeysToInvalidate: OptionalReadonly<string[]>[]
queryKeysToInvalidate: Array<OptionalReadonly<Array<string | number>>>
) {
return {
onSuccess() {