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
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user