From bb685d0f12f5c825d0d2d6546781b8aadb151cde Mon Sep 17 00:00:00 2001 From: asvarcas Date: Tue, 21 Jul 2020 10:18:28 -0300 Subject: [PATCH] Fix useUpdateMany parameter definition --- packages/ra-core/src/dataProvider/useUpdateMany.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/ra-core/src/dataProvider/useUpdateMany.ts b/packages/ra-core/src/dataProvider/useUpdateMany.ts index c7d7b592083..16110b4be68 100644 --- a/packages/ra-core/src/dataProvider/useUpdateMany.ts +++ b/packages/ra-core/src/dataProvider/useUpdateMany.ts @@ -30,7 +30,7 @@ import { Identifier } from '../types'; */ const useUpdateMany = ( resource: string, - ids: [Identifier], + ids: Identifier[], data: any, options?: any ) =>