diff --git a/src/App.tsx b/src/App.tsx index 5a0b5ce..18b9af7 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -40,18 +40,18 @@ function App() {
- {creating || selectedNote ? ( - - ) : null} -

Notes

-
+ {creating || selectedNote ? ( + + ) : null} +

Notes

+
diff --git a/src/components/NoteEditor.tsx b/src/components/NoteEditor.tsx index d660248..06854a1 100644 --- a/src/components/NoteEditor.tsx +++ b/src/components/NoteEditor.tsx @@ -58,4 +58,4 @@ function NoteEditor(props: NoteEditorProps) { ) } -export default NoteEditor \ No newline at end of file +export default NoteEditor diff --git a/src/components/NoteForm.tsx b/src/components/NoteForm.tsx index 9d93e23..041e12b 100644 --- a/src/components/NoteForm.tsx +++ b/src/components/NoteForm.tsx @@ -68,4 +68,4 @@ function NoteForm({ ) } -export default NoteForm \ No newline at end of file +export default NoteForm diff --git a/src/components/NoteReadView.test.tsx b/src/components/NoteReadView.test.tsx index df8b738..7fcd1eb 100644 --- a/src/components/NoteReadView.test.tsx +++ b/src/components/NoteReadView.test.tsx @@ -8,9 +8,7 @@ const note: Note = { id: 42, title: 'Courses', content: 'Lait\nOeufs' } const renderView = (overrides: Partial = {}) => { const onEdit = vi.fn() const onDelete = vi.fn() - render( - , - ) + render() return { onEdit, onDelete } } @@ -56,4 +54,4 @@ describe('NoteReadView', () => { expect(onDelete).not.toHaveBeenCalled() }) -}) \ No newline at end of file +}) diff --git a/src/components/NoteReadView.tsx b/src/components/NoteReadView.tsx index 6d1d1cc..cd10831 100644 --- a/src/components/NoteReadView.tsx +++ b/src/components/NoteReadView.tsx @@ -43,4 +43,4 @@ function NoteReadView({ note, onEdit, onDelete }: NoteReadViewProps) { ) } -export default NoteReadView \ No newline at end of file +export default NoteReadView