@transferwise/components 0.0.0-experimental-87a67c8 → 0.0.0-experimental-b52dbcf

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/build/index.mjs CHANGED
@@ -4551,15 +4551,14 @@ const Logo = ({
4551
4551
  }) => {
4552
4552
  const LogoSm = svgPaths[`WISE_FLAG${type === LogoType.WISE_PLATFORM ? '_PLATFORM' : ''}${inverse ? '_INVERSE' : ''}`];
4553
4553
  const LogoMd = svgPaths[`${type}${inverse ? '_INVERSE' : ''}`];
4554
- const screenMd = useScreenSize(Breakpoint.MEDIUM);
4555
4554
  return /*#__PURE__*/jsxs("span", {
4556
4555
  "aria-label": type === LogoType.WISE ? 'Wise' : 'Wise Business' | type === LogoType.WISE_PLATFORM ? 'Wise Platform' : 'Wise Business',
4557
4556
  role: "img",
4558
4557
  className: classNames(className, 'np-logo'),
4559
- children: [!screenMd && /*#__PURE__*/jsx(LogoSm, {
4560
- className: "np-logo-svg"
4561
- }), screenMd && /*#__PURE__*/jsx(LogoMd, {
4562
- className: "np-logo-svg"
4558
+ children: [/*#__PURE__*/jsx(LogoSm, {
4559
+ className: "np-logo-svg np-logo-svg--size-sm"
4560
+ }), /*#__PURE__*/jsx(LogoMd, {
4561
+ className: "np-logo-svg np-logo-svg--size-md"
4563
4562
  })]
4564
4563
  });
4565
4564
  };