mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-04 06:28:51 +00:00
fix alert provider | remove alert from notes and contact
This commit is contained in:
1 parent
9ba8bd683f
commit
b4258718d8
13 files changed
+67
-175
No files matched your search
@@ -1,4 +1,4 @@
|
||||
import React from 'react';
|
||||
import React, { useEffect } from 'react';
|
||||
import { AppWrapper } from '../../ui/components/AppWrapper';
|
||||
import { AppContent } from '../../ui/components/AppContent';
|
||||
import { AppTitle } from '../../ui/components/AppTitle';
|
||||
@@ -15,7 +15,8 @@ import { useNoteDetail } from './hooks/useNoteDetail';
|
||||
|
||||
import useStyles from './notes.styles';
|
||||
import InjectDebugData from '../../os/debug/InjectDebugData';
|
||||
import { NotesAlert } from './alert/NotesAlert';
|
||||
import { useSnackbar } from '../../ui/hooks/useSnackbar';
|
||||
import { useTranslation } from 'react-i18next';
|
||||
|
||||
InjectDebugData([
|
||||
{
|
||||
@@ -38,9 +39,11 @@ InjectDebugData([
|
||||
|
||||
export const NotesApp = () => {
|
||||
const { setNoteModal } = useNoteModal();
|
||||
const { t } = useTranslation()
|
||||
const { detail, setDetail } = useNoteDetail();
|
||||
const { notes } = useNotes();
|
||||
const notesApp = useApp('NOTES');
|
||||
const { addAlert } = useSnackbar()
|
||||
|
||||
const classes = useStyles();
|
||||
|
||||
@@ -66,7 +69,6 @@ export const NotesApp = () => {
|
||||
>
|
||||
<AddIcon />
|
||||
</Fab>
|
||||
<NotesAlert />
|
||||
</AppWrapper>
|
||||
);
|
||||
};
|
||||
Reference in new issue
Block a user