mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-04 22:16:40 +00:00
Email app upgrades WIP
This commit is contained in:
1 parent
c2510266f8
commit
ff4381fa01
12 files changed
+272
-132
No files matched your search
@@ -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',
|
||||
}),
|
||||
};
|
||||
Reference in new issue
Block a user