From 3045befc78eba0a2519e07652d4c370180d727c8 Mon Sep 17 00:00:00 2001 From: Tadjaur Date: Thu, 12 Dec 2024 23:29:56 +0100 Subject: [PATCH] Fix invalid method call --- packages/app/modules/item/hooks/useImportItem.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/app/modules/item/hooks/useImportItem.ts b/packages/app/modules/item/hooks/useImportItem.ts index f673aa7d8..ea2d1b448 100644 --- a/packages/app/modules/item/hooks/useImportItem.ts +++ b/packages/app/modules/item/hooks/useImportItem.ts @@ -36,7 +36,7 @@ export const useImportItem = () => { }); } - addOfflineRequest('addItemGlobal', newItem); + addOfflineRequest('importItemsGlobal', newItem); // Optionally, handle offline case here if needed },