refactor: move createState to twenty-ui (#4716)

Split from https://github.com/twentyhq/twenty/pull/4518

Co-authored-by: Charles Bochet <charlesBochet@users.noreply.github.com>
This commit is contained in:
Thaïs
2024-04-01 13:22:51 +02:00
committed by GitHub
parent a3e5cf37b0
commit 8ae6af6bd7
66 changed files with 86 additions and 64 deletions

View File

@ -1,5 +1,6 @@
import { createState } from 'twenty-ui';
import { ObjectMetadataItem } from '@/object-metadata/types/ObjectMetadataItem';
import { createState } from '@/ui/utilities/state/utils/createState';
export const objectMetadataItemsState = createState<ObjectMetadataItem[]>({
key: 'objectMetadataItemsState',