* Fixed bug for refectch activities and create activity on the currently filtered user. * Refactor optimistif effect --------- Co-authored-by: Charles Bochet <charles@twenty.com>
11 lines
246 B
TypeScript
11 lines
246 B
TypeScript
import { atom } from 'recoil';
|
|
|
|
import { OptimisticEffect } from '../types/internal/OptimisticEffect';
|
|
|
|
export const optimisticEffectState = atom<
|
|
Record<string, OptimisticEffect<unknown>>
|
|
>({
|
|
key: 'optimisticEffectState',
|
|
default: {},
|
|
});
|