mirror of
https://github.com/twentyhq/twenty
synced 2026-04-21 21:47:38 +00:00
10 lines
301 B
TypeScript
10 lines
301 B
TypeScript
|
|
import { useFindManyObjectMetadataItems } from '@/object-metadata/hooks/useFindManyObjectMetadataItems';
|
||
|
|
|
||
|
|
export const ObjectMetadataItemsProvider = ({
|
||
|
|
children,
|
||
|
|
}: React.PropsWithChildren) => {
|
||
|
|
const { loading } = useFindManyObjectMetadataItems();
|
||
|
|
|
||
|
|
return loading ? <></> : <>{children}</>;
|
||
|
|
};
|