Files
twenty/front/src/modules/people/states/peopleCompanyFamilyState.ts
Lucas Bordeau 734e18e01a Refactor/remove react table (#642)
* Refactored tables without tan stack
* Fixed checkbox behavior with multiple handlers on click
* Fixed hotkeys scope
* Fix debounce in editable cells
* Lowered coverage

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
2023-07-13 17:08:13 +00:00

12 lines
263 B
TypeScript

import { atomFamily } from 'recoil';
import { GetPeopleQuery } from '~/generated/graphql';
export const peopleCompanyFamilyState = atomFamily<
GetPeopleQuery['people'][0]['company'] | null,
string
>({
key: 'peopleCompanyFamilyState',
default: null,
});