@wistia/ui 0.6.31 → 0.6.32

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.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
 
2
2
  /*
3
- * @license @wistia/ui v0.6.31
3
+ * @license @wistia/ui v0.6.32
4
4
  *
5
5
  * Copyright (c) 2024-2025, Wistia, Inc. and its affiliates.
6
6
  *
@@ -6660,7 +6660,8 @@ var Link = forwardRef(
6660
6660
  ...commonProps,
6661
6661
  ...externalLinkProps
6662
6662
  };
6663
- return inRouterContext && type !== "external" ? /* @__PURE__ */ jsx192(
6663
+ const shouldUseReactRouterLink = inRouterContext && type !== "external" && !to?.startsWith("http");
6664
+ return shouldUseReactRouterLink ? /* @__PURE__ */ jsx192(
6664
6665
  StyledLink,
6665
6666
  {
6666
6667
  as: RouterLink,