This commit is contained in:
J Francisco Rader committed 2021-03-31 15:33:12 -03:00
1 parent 8fd711270d
commit 836dc3e724
7 files changed
+18664 -2

No files matched your search

+3
View File
@@ -34,6 +34,7 @@ import { usePhone } from './os/phone/hooks/usePhone';
import { useTranslation } from 'react-i18next';
import { useSnackbar } from './ui/hooks/useSnackbar';
import { useEmailService } from './apps/email/hooks/useEmailService';
import { useNuiEvent } from 'fivem-nui-react-lib';
function Phone() {
const { t, i18n } = useTranslation();
@@ -44,6 +45,8 @@ function Phone() {
const { addAlert } = useSnackbar();
useNuiEvent('asd', 'asd', console.log);
// Set language from local storage
// This will only trigger on first mount & settings changes
useEffect(() => {
@@ -35,6 +35,7 @@ InjectDebugData<IEmail[]>(
receivers: ['[email protected]'],
sender: '[email protected]',
sendDate: Date.now() / 1000,
hasActions: false,
},
],
},
@@ -49,6 +50,7 @@ InjectDebugData<IEmail[]>(
receivers: ['[email protected]'],
sender: '[email protected]',
sendDate: Date.now() / 1000,
hasActions: false,
},
],
},
@@ -72,6 +74,7 @@ InjectDebugData<IEmail[]>(
sendDate: Date.now() / 1000,
isRead: false,
isMine: true,
hasActions: false,
},
{
id: 12,
@@ -83,6 +86,7 @@ InjectDebugData<IEmail[]>(
sendDate: Date.now() / 1000,
isRead: false,
isMine: false,
hasActions: false,
},
{
id: 3,
@@ -94,6 +98,7 @@ InjectDebugData<IEmail[]>(
sendDate: Date.now() / 1000,
isRead: false,
isMine: true,
hasActions: false,
},
],
},
@@ -109,6 +114,7 @@ InjectDebugData<IEmail[]>(
sender: '[email protected]',
sendDate: Date.now() / 1000,
isRead: false,
hasActions: false,
},
],
},
@@ -124,6 +130,7 @@ InjectDebugData<IEmail[]>(
sender: '[email protected]',
sendDate: Date.now() / 1000,
isRead: true,
hasActions: false,
},
],
},
@@ -139,6 +146,7 @@ InjectDebugData<IEmail[]>(
sender: '[email protected]',
sendDate: Date.now() / 1000,
isRead: true,
hasActions: false,
},
],
},
@@ -154,6 +162,7 @@ InjectDebugData<IEmail[]>(
sender: '[email protected]',
sendDate: Date.now() / 1000,
isRead: true,
hasActions: false,
},
],
},
@@ -169,6 +178,7 @@ InjectDebugData<IEmail[]>(
sender: '[email protected]',
sendDate: Date.now() / 1000,
isRead: false,
hasActions: false,
},
],
},
@@ -184,6 +194,7 @@ InjectDebugData<IEmail[]>(
sender: '[email protected]',
sendDate: Date.now() / 1000,
isRead: false,
hasActions: false,
},
],
},
@@ -199,6 +210,7 @@ InjectDebugData<IEmail[]>(
sender: '[email protected]',
sendDate: Date.now() / 1000,
isRead: false,
hasActions: false,
},
],
},