Files
twenty/packages/twenty-front/src/modules/views/states/currentViewFieldsScopedFamilyState.ts
Charles Bochet 96264e264c Refactor recoil v4 (#3266)
* Refactor recoil v4

* Fix ci
2024-01-05 19:18:22 +01:00

12 lines
329 B
TypeScript

import { createFamilyStateScopeMap } from '@/ui/utilities/recoil-scope/utils/createFamilyStateScopeMap';
import { ViewField } from '../types/ViewField';
export const currentViewFieldsScopedFamilyState = createFamilyStateScopeMap<
ViewField[],
string
>({
key: 'currentViewFieldsScopedFamilyState',
defaultValue: [],
});