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
@@ -11,7 +11,7 @@ import { updateNameAction, type UpdateNameState } from "./actions";
const initialState: UpdateNameState = null;
export function EditableName({ currentName }: { currentName: string }) {
export function EditableName({ currentName }: Readonly<{ currentName: string }>) {
const [editing, setEditing] = useState(false);
const [state, action, pending] = useActionState(
updateNameAction,