feat(notes/nui): use notes alert

This commit is contained in:
Christopher committed 2021-02-08 18:52:58 +01:00
1 parent 59973fcf9e
commit 4d92847163
2 files changed
+14 -6

No files matched your search

+3 -1
View File
@@ -15,6 +15,7 @@ import { useNoteDetail } from './hooks/useNoteDetail';
import useStyles from './notes.styles';
import InjectDebugData from '../../os/debug/InjectDebugData';
import { NotesAlert } from './alert/NotesAlert';
InjectDebugData([
{
@@ -32,7 +33,7 @@ InjectDebugData([
content: 'Hello, this is another shitty note',
},
],
},
}
]);
export const NotesApp = () => {
@@ -65,6 +66,7 @@ export const NotesApp = () => {
<AddIcon />
</Fab>
</AppContent>
<NotesAlert />
</AppWrapper>
);
};