mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-23 11:50:14 +01:00
13 lines
405 B
TypeScript
13 lines
405 B
TypeScript
|
|
import { atom } from 'recoil';
|
||
|
|
import { TAttachment } from 'librechat-data-provider';
|
||
|
|
import { atomWithLocalStorage } from './utils';
|
||
|
|
|
||
|
|
const hideBannerHint = atomWithLocalStorage('hideBannerHint', [] as string[]);
|
||
|
|
|
||
|
|
const messageAttachmentsMap = atom<Record<string, TAttachment[] | undefined>>({
|
||
|
|
key: 'messageAttachmentsMap',
|
||
|
|
default: {},
|
||
|
|
});
|
||
|
|
|
||
|
|
export default { hideBannerHint, messageAttachmentsMap };
|