mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-03 22:16:54 +00:00
tweak(notes/nui): notes app root component fixed
This commit is contained in:
1 parent
d6b7d67ec0
commit
4438ee3302
1 file changed
+4
-4
@@ -6,8 +6,8 @@ import NoteList from './list/NoteList';
|
||||
|
||||
|
||||
import { useNotes } from './hooks/useNotes';
|
||||
import { AddNoteModal } from './modal/AddNoteModal';
|
||||
import { Button, Fab } from '@material-ui/core';
|
||||
import { NoteModal } from './modal/NoteModal';
|
||||
import { Fab } from '@material-ui/core';
|
||||
import AddIcon from '@material-ui/icons/Add';
|
||||
|
||||
import { useNoteModal } from './hooks/useNoteModal';
|
||||
@@ -27,11 +27,11 @@ export const NotesApp = () => {
|
||||
return (
|
||||
<AppWrapper id="notes-app">
|
||||
<NotesTitle />
|
||||
<AddNoteModal />
|
||||
<div className={ noteModal ? classes.backgroundModal : undefined} />
|
||||
<NoteModal />
|
||||
<AppContent>
|
||||
<NoteList notes={notes}/>
|
||||
<Fab
|
||||
className={classes.absolute}
|
||||
onClick={handleModal}
|
||||
style={{
|
||||
background: '#f9a825',
|
||||
|
||||
Reference in new issue
Block a user