message: chore: name field is hidden when empty name is received from invite details api
diff: @@ -173,6 +173,11 @@ function SignUp({ version }: SignUpProps): JSX.Element {
  setFunction(value);
  };
  + const getIsNameVisible = (): boolean =>
  + !(firstName.length === 0 && !isPreferenceVisible);
  +
  + const isNameVisible = getIsNameVisible();
  +
  return (
  <WelcomeLeftContainer version={version}>
  <FormWrapper>
  @@ -194,6 +199,7 @@ function SignUp({ version }: SignUpProps): JSX.Element {
  />
  </div>
  + {isNameVisible && (
  <div>
  <Label htmlFor="signupFirstName">First Name</Label>
  <Input
  @@ -207,6 +213,8 @@ function SignUp({ version }: SignUpProps): JSX.Element {
  disabled={isDetailsDisable}
  />
  </div>
  + )}
  +
  <div>
  <Label htmlFor="organizationName">Organization Name</Label>
  <Input
  