refactor: simplify profile type definitions in ProfileCard, ProfileEditor, and Dashboard components for improved code clarity

This commit is contained in:
Ben Allfree
2025-11-24 04:25:45 -08:00
parent 10f4ff520a
commit 49f9fe191f
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -30,7 +30,7 @@ export function ProfileStatisticPills({
}
interface ProfileCardContentProps {
profile: Doc<'profiles'>
profile: Doc
}
export function ProfileCardContent({ profile }: ProfileCardContentProps) {
+1 -1
View File
@@ -18,7 +18,7 @@ interface ProfileFormValues {
}
interface ProfileEditorProps {
initialData?: Doc<'profiles'>
initialData?: Doc
onSave: () => void
onCancel: () => void
}