@rebasepro/app 0.9.1-canary.7ba0e49 → 0.9.1-canary.7dddf96

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.es.js CHANGED
@@ -9193,10 +9193,10 @@ function LoginForm({ onClose, onForgotPassword, authController, registrationMode
9193
9193
  };
9194
9194
  }, [onClose]);
9195
9195
  function handleEnterPassword() {
9196
- if (email && password && authController.emailPasswordLogin) Promise.resolve(authController.emailPasswordLogin(email, password)).catch(() => void 0);
9196
+ if (email && password && authController.emailPasswordLogin) authController.emailPasswordLogin(email, password);
9197
9197
  }
9198
9198
  function handleRegistration() {
9199
- if (email && password && authController.register) Promise.resolve(authController.register(email, password, displayName)).catch(() => void 0);
9199
+ if (email && password && authController.register) authController.register(email, password, displayName);
9200
9200
  }
9201
9201
  const handleSubmit = (event) => {
9202
9202
  event.preventDefault();