Email app upgrades WIP

This commit is contained in:
J Francisco Rader committed 2021-03-30 02:07:04 -03:00
1 parent c2510266f8
commit ff4381fa01
12 files changed
+272 -132

No files matched your search

+10 -2
View File
@@ -2,8 +2,16 @@ import { atom } from 'recoil';
import { IEmail } from '../../../common/typings/email';
export const emailState = {
emails: atom<IEmail[]>({
inbox: atom<IEmail[]>({
default: null,
key: 'EMAIL:emails',
key: 'EMAIL:inbox',
}),
sent: atom<IEmail[]>({
default: null,
key: 'EMAIL:sent',
}),
myEmail: atom<string>({
default: null,
key: 'EMAIL:myEmail',
}),
};