mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-04 22:16:40 +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 { useNotes } from './hooks/useNotes';
|
||||||
import { AddNoteModal } from './modal/AddNoteModal';
|
import { NoteModal } from './modal/NoteModal';
|
||||||
import { Button, Fab } from '@material-ui/core';
|
import { Fab } from '@material-ui/core';
|
||||||
import AddIcon from '@material-ui/icons/Add';
|
import AddIcon from '@material-ui/icons/Add';
|
||||||
|
|
||||||
import { useNoteModal } from './hooks/useNoteModal';
|
import { useNoteModal } from './hooks/useNoteModal';
|
||||||
@@ -27,11 +27,11 @@ export const NotesApp = () => {
|
|||||||
return (
|
return (
|
||||||
<AppWrapper id="notes-app">
|
<AppWrapper id="notes-app">
|
||||||
<NotesTitle />
|
<NotesTitle />
|
||||||
<AddNoteModal />
|
<NoteModal />
|
||||||
<div className={ noteModal ? classes.backgroundModal : undefined} />
|
|
||||||
<AppContent>
|
<AppContent>
|
||||||
<NoteList notes={notes}/>
|
<NoteList notes={notes}/>
|
||||||
<Fab
|
<Fab
|
||||||
|
className={classes.absolute}
|
||||||
onClick={handleModal}
|
onClick={handleModal}
|
||||||
style={{
|
style={{
|
||||||
background: '#f9a825',
|
background: '#f9a825',
|
||||||
|
|||||||
Reference in new issue
Block a user