refactor(notes): use shared types and interfaces in components

This commit is contained in:
devcodetools committed 2026-09-13 16:49:14 +02:00
1 parent 2975b80a94
commit 557e48116a
12 files changed
+16 -57

No files matched your search

+1 -6
View File
@@ -1,9 +1,4 @@
import type { Note } from '../types'
interface NoteListProps {
notes: Note[]
onSelect: (id: number) => void
}
import type { NoteListProps } from '../interfaces/note-list'
const EMPTY_MESSAGE = 'Aucune note pour le moment.\nTouchez + pour en créer une.'