Skip to content

Commit

Permalink
fix wrong condition
Browse files Browse the repository at this point in the history
  • Loading branch information
MGLL committed Jan 31, 2024
1 parent fcda1b7 commit d3fdb24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/profile/components/profile.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ const ProfileData = () => {
</div>
<form className="max-w-xl space-y-4" onSubmit={handleSubmit(onSubmit)}>
<>
{!featureFlags.registrationEmailAsUsername ? (
{featureFlags.registrationEmailAsUsername ? (
// Username is email, can edit username but must be a valid email
<RHFFormTextInputWithLabel
slug="username"
Expand Down

0 comments on commit d3fdb24

Please sign in to comment.