diff --git a/index.html b/index.html index 15ac73a..5c00ec3 100644 --- a/index.html +++ b/index.html @@ -7,7 +7,7 @@ name="description" content="Application web SPA PWA installable et utilisable hors connexion." /> - + new diff --git a/src/App.tsx b/src/App.tsx index f580bcd..a433165 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -37,8 +37,8 @@ function App() { } return ( -
-
+
+
{creating || selectedNote ? (
diff --git a/src/components/NoteEditor.tsx b/src/components/NoteEditor.tsx index c98c500..76b24df 100644 --- a/src/components/NoteEditor.tsx +++ b/src/components/NoteEditor.tsx @@ -17,7 +17,7 @@ function NoteForm({ }: NoteFormProps) { return (
{ event.preventDefault() onSubmit() @@ -114,7 +114,7 @@ function NoteEditor(props: NoteEditorProps) { const { note } = props return ( -
+

{note.title || 'Sans titre'}