@erikey/react 0.4.8 → 0.4.10

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/ui/index.mjs CHANGED
@@ -8419,7 +8419,7 @@ var AuthUIProvider = ({
8419
8419
  social: socialProp,
8420
8420
  genericOAuth: genericOAuthProp,
8421
8421
  basePath = "/auth",
8422
- baseURL = "",
8422
+ baseURL = typeof window !== "undefined" ? window.location.origin : "",
8423
8423
  captcha,
8424
8424
  redirectTo = "/",
8425
8425
  credentials: credentialsProp,