From 0d2ed3f8a03337d02295c9cd9496833fc8f94b20 Mon Sep 17 00:00:00 2001 From: chenos Date: Sat, 23 Mar 2024 08:12:42 +0800 Subject: [PATCH] fix(client): visible -> useVisible --- .../details-single/ReadPrettyFormActionInitializers.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/core/client/src/modules/blocks/data-blocks/details-single/ReadPrettyFormActionInitializers.tsx b/packages/core/client/src/modules/blocks/data-blocks/details-single/ReadPrettyFormActionInitializers.tsx index f2dbe54042..6a3697b850 100644 --- a/packages/core/client/src/modules/blocks/data-blocks/details-single/ReadPrettyFormActionInitializers.tsx +++ b/packages/core/client/src/modules/blocks/data-blocks/details-single/ReadPrettyFormActionInitializers.tsx @@ -1,5 +1,5 @@ -import { useCollection_deprecated } from '../../../../collection-manager/hooks/useCollection_deprecated'; import { CompatibleSchemaInitializer } from '../../../../application/schema-initializer/CompatibleSchemaInitializer'; +import { useCollection_deprecated } from '../../../../collection-manager/hooks/useCollection_deprecated'; const useVisibleCollection = () => { const collection = useCollection_deprecated(); @@ -76,7 +76,7 @@ export const readPrettyFormActionInitializers_deprecated = new CompatibleSchemaI 'x-component': 'Action', }; }, - visible: useVisibleCollection, + useVisible: useVisibleCollection, }, { name: 'customRequest', @@ -156,7 +156,7 @@ export const readPrettyFormActionInitializers = new CompatibleSchemaInitializer( 'x-component': 'Action', }; }, - visible: useVisibleCollection, + useVisible: useVisibleCollection, }, { name: 'customRequest',