Reworked profile with pfp upload etc
This commit is contained in:
1 parent
c56d6d0d3a
commit
347f4b0999
5 files changed
+6
-6
No files matched your search
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user