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 onEdit = vi.fn()
|
||||
const onDelete = vi.fn()
|
||||
render(
|
||||
<NoteReadView note={{ ...note, ...overrides }} onEdit={onEdit} onDelete={onDelete} />,
|
||||
)
|
||||
render(<NoteReadView note={{ ...note, ...overrides }} onEdit={onEdit} onDelete={onDelete} />)
|
||||
return { onEdit, onDelete }
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user