Feat/inject debug - Use new abstraction to clean up debug data (#70)

* feat(phone/debug): Inject debug data for development

* refactor(phone/debug): Refactored mock data to InjectDebugEvents

* fix(phone/debug) removed useless debug injections
This commit is contained in:
Taso authored and GitHub committed 2021-02-06 16:00:09 -05:00
1 parent 686b86acf9
commit 447c51a07e
11 files changed
+243 -256

No files matched your search

@@ -14,6 +14,26 @@ import { useContactDetail } from '../hooks/useContactDetail';
import { ContactAlert } from './alert/ContactAlert';
import useStyles from './styles.contacts';
import InjectDebugData from '../../../os/debug/InjectDebugData';
InjectDebugData([
{
app: 'CONTACTS',
method: 'setContacts',
data: [
{
id: 1,
display: 'Ruqen',
number: '43534444',
},
{
id: 1,
display: 'Taso',
number: '456466',
},
],
},
]);
export const ContactsApp = () => {
const classes = useStyles();