Skip to content

Commit 5cccfee

Browse files
committed
fixed all TS errors
1 parent 9b1f32a commit 5cccfee

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

resources/js/components/profile-photo.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ import { useInitials } from '@/hooks/use-initials';
1313

1414
type ProfilePhotoProps = {
1515
userName: string;
16-
userAvatar: string | null;
16+
userAvatar: string | null | undefined;
1717
onPhotoChange: (photo: File | null) => void;
18-
error?: string;
18+
error?: string | undefined;
1919
};
2020

2121
export function ProfilePhoto({ userName, userAvatar, onPhotoChange, error }: ProfilePhotoProps) {

0 commit comments

Comments
 (0)