We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dd49328 commit 6b22290Copy full SHA for 6b22290
src/client/editor/Users.tsx
@@ -41,7 +41,7 @@ type UserFormProps = {
41
onDelete: () => void;
42
};
43
const UserForm: FC<UserFormProps> = ({ user, onSave, onDelete }) => {
44
- const [isEditing, setIsEditing] = useState(true || user.name === "");
+ const [isEditing, setIsEditing] = useState(user.name === "");
45
46
const defaultValues: InferInput<typeof UserSchema> = user;
47
const form = useForm({
0 commit comments