@transferwise/components 0.0.0-experimental-89e80d6 → 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.js CHANGED
@@ -4582,15 +4582,14 @@ const Logo = ({
4582
4582
  }) => {
4583
4583
  const LogoSm = svgPaths[`WISE_FLAG${type === exports.LogoType.WISE_PLATFORM ? '_PLATFORM' : ''}${inverse ? '_INVERSE' : ''}`];
4584
4584
  const LogoMd = svgPaths[`${type}${inverse ? '_INVERSE' : ''}`];
4585
- const screenMd = useScreenSize(exports.Breakpoint.MEDIUM);
4586
4585
  return /*#__PURE__*/jsxRuntime.jsxs("span", {
4587
4586
  "aria-label": type === exports.LogoType.WISE ? 'Wise' : 'Wise Business' | type === exports.LogoType.WISE_PLATFORM ? 'Wise Platform' : 'Wise Business',
4588
4587
  role: "img",
4589
4588
  className: classNames__default.default(className, 'np-logo'),
4590
- children: [!screenMd && /*#__PURE__*/jsxRuntime.jsx(LogoSm, {
4591
- className: "np-logo-svg"
4592
- }), screenMd && /*#__PURE__*/jsxRuntime.jsx(LogoMd, {
4593
- className: "np-logo-svg"
4589
+ children: [/*#__PURE__*/jsxRuntime.jsx(LogoSm, {
4590
+ className: "np-logo-svg np-logo-svg--size-sm"
4591
+ }), /*#__PURE__*/jsxRuntime.jsx(LogoMd, {
4592
+ className: "np-logo-svg np-logo-svg--size-md"
4594
4593
  })]
4595
4594
  });
4596
4595
  };