fix(client): visible -> useVisible

This commit is contained in:
chenos 2024-03-23 08:12:42 +08:00
parent 4f0907be1b
commit 0d2ed3f8a0

View File

@ -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',