@treely/strapi-slices 4.4.4 → 4.4.6

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.
@@ -1563,6 +1563,8 @@ var QAndA = function QAndA(_ref) {
1563
1563
 
1564
1564
  var QuoteCards = function QuoteCards(_ref) {
1565
1565
  var slice = _ref.slice;
1566
+ var _useRouter = useRouter(),
1567
+ push = _useRouter.push;
1566
1568
  return React.createElement(React.Fragment, null, React.createElement(Box, {
1567
1569
  id: convertToKebabCase(slice.title),
1568
1570
  position: "relative",
@@ -1636,7 +1638,7 @@ var QuoteCards = function QuoteCards(_ref) {
1636
1638
  text: slice.hero.button.text,
1637
1639
  onClick: function onClick() {
1638
1640
  var _slice$hero;
1639
- return strapiLinkUrl((_slice$hero = slice.hero) == null ? void 0 : _slice$hero.button);
1641
+ return push(strapiLinkUrl((_slice$hero = slice.hero) == null ? void 0 : _slice$hero.button));
1640
1642
  }
1641
1643
  },
1642
1644
  image: slice.hero.image && React.createElement(Image, {