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 24f31e4 commit aeeb2f8Copy full SHA for aeeb2f8
src/components/PatchUserModal.jsx
@@ -34,15 +34,15 @@ const PatchUserModal = () => {
34
<div>
35
<StyledModalHeading>Введите полное имя и почту, что бы продолжить</StyledModalHeading>
36
<div className="mt-3">
37
- {profile.fullName && (
+ {!profile.fullName && (
38
<Input
39
value={userFullName}
40
onChange={(e) => setUserFullName(e.target.value)}
41
type="text"
42
placeholder="Введите имя и фамилию"
43
/>
44
)}
45
- {profile.email && (
+ {!profile.email && (
46
47
value={userEmail}
48
onChange={(e) => setUserEmail(e.target.value)}
0 commit comments