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 -1
View File
@@ -1,7 +1,7 @@
import { fireEvent, render, screen } from '@testing-library/react'
import { describe, expect, it, vi } from 'vitest'
import NoteEditor from './NoteEditor'
import type { Note } from '../types'
import type { Note } from '../types/note'
const note: Note = { id: 42, title: 'Courses', content: 'Lait\nOeufs' }