@atomsolution/sdk-merchant 1.1.0 → 1.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -13817,8 +13817,8 @@ function NewAccountCreate({
13817
13817
  }) {
13818
13818
  const { translate: translate2 } = useTranslation("digistore-id");
13819
13819
  const [email2, setEmail] = React.useState(username);
13820
- const [password, setPassword] = React.useState(userPassword);
13821
- const [confirmPassword, setConfirmPassword] = React.useState(userPassword);
13820
+ const [password, setPassword] = React.useState(userPassword || "");
13821
+ const [confirmPassword, setConfirmPassword] = React.useState(userPassword || "");
13822
13822
  const [isSubmitting, setIsSubmitting] = React.useState(false);
13823
13823
  const [passwordError, setPasswordError] = React.useState("");
13824
13824
  const [confirmPasswordError, setConfirmPasswordError] = React.useState("");