mirror of
https://github.com/tale/headplane.git
synced 2026-08-21 10:16:37 +00:00
fix: when renaming users start with old names
This commit is contained in:
@@ -15,7 +15,7 @@ interface Props {
|
||||
export default function Rename({ username, magic }: Props) {
|
||||
const submit = useSubmit()
|
||||
const dialogState = useState(false)
|
||||
const [newName, setNewName] = useState('')
|
||||
const [newName, setNewName] = useState(username)
|
||||
|
||||
return (
|
||||
<>
|
||||
|
||||
Reference in New Issue
Block a user