Files
twenty_crm/front/src/modules/hotkeys/states/internal/currentHotkeysScopeState.ts
Lucas Bordeau 5f98b70c6a Fix/scope hotkeys (#581)
* WIP

* asd

* Fix

* Fix lint

* Removed console log

* asd

* Removed isDefined

* Fix/debounce company card onchange (#580)

* Add internal state and debounce for editable text card

* Use debounce for date fields too

* Update refetch

* Nit

* Removed comments

* Ménage

---------

Co-authored-by: Emilien Chauvet <emilien.chauvet.enpc@gmail.com>
2023-07-11 01:53:46 +00:00

10 lines
298 B
TypeScript

import { atom } from 'recoil';
import { INITIAL_HOTKEYS_SCOPE } from '@/hotkeys/constants';
import { HotkeysScope } from '@/hotkeys/types/internal/HotkeysScope';
export const currentHotkeysScopeState = atom<HotkeysScope>({
key: 'currentHotkeysScopeState',
default: INITIAL_HOTKEYS_SCOPE,
});