style(app): apply prettier formatting
This commit is contained in:
1 parent
e13652a753
commit
8523ace11f
1 file changed
+1
-3
@@ -8,9 +8,7 @@ const note: Note = { id: 42, title: 'Courses', content: 'Lait\nOeufs' }
|
|||||||
const renderView = (overrides: Partial<Note> = {}) => {
|
const renderView = (overrides: Partial<Note> = {}) => {
|
||||||
const onEdit = vi.fn()
|
const onEdit = vi.fn()
|
||||||
const onDelete = vi.fn()
|
const onDelete = vi.fn()
|
||||||
render(
|
render(<NoteReadView note={{ ...note, ...overrides }} onEdit={onEdit} onDelete={onDelete} />)
|
||||||
<NoteReadView note={{ ...note, ...overrides }} onEdit={onEdit} onDelete={onDelete} />,
|
|
||||||
)
|
|
||||||
return { onEdit, onDelete }
|
return { onEdit, onDelete }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user