Reworked profile with pfp upload etc

This commit is contained in:
pascalyazid committed 2026-05-15 18:37:11 +02:00
1 parent c56d6d0d3a
commit 347f4b0999
5 files changed
+6 -6

No files matched your search

+1 -1
View File
@@ -6,7 +6,7 @@ import Image from "next/image";
const initialState: UploadAvatarState = null;
export function AvatarUpload({ avatarUrl }: { avatarUrl: string | null }) {
export function AvatarUpload({ avatarUrl }: Readonly<{ avatarUrl: string | null }>) {
const [state, action, pending] = useActionState(
uploadAvatarAction,
initialState,