@bytebrand/fe-ui-core 4.2.68 → 4.2.69

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.
@@ -68,7 +68,6 @@ const mockProps = {
68
68
  requestedCars,
69
69
  getSupportedImageFormat: jest.fn(),
70
70
  redirectToCar: jest.fn(),
71
- initHotjar: jest.fn(),
72
71
  // tslint:disable-next-line:object-shorthand-properties-first
73
72
  LinkRouter
74
73
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bytebrand/fe-ui-core",
3
- "version": "4.2.68",
3
+ "version": "4.2.69",
4
4
  "description": "UI components for the auto.de project",
5
5
  "main": "index.ts",
6
6
  "module": "dist/common.js",
@@ -130,7 +130,7 @@
130
130
  background-size: cover
131
131
 
132
132
  .slick-next::after
133
- left: 10px
133
+ left: 0px
134
134
 
135
135
  .slick-prev::after
136
136
  transform: rotate(180deg) translateY(-50%)
@@ -142,6 +142,4 @@
142
142
 
143
143
  .slick-next
144
144
  right: -5px!important
145
- top:50%!important
146
-
147
-
145
+ top:50%!important
@@ -4,8 +4,6 @@ import styles from './RequestedCarsSection.styl';
4
4
  import Slider from 'react-slick';
5
5
  import DashboardSection from '../../../containers/DasboardSection/DashboardSection';
6
6
  import SupportSection from './SupportSection';
7
- import i18next from 'i18next';
8
- import { translate } from 'react-i18next';
9
7
  import Image from '../../../_common/Image/Image';
10
8
  import { Hidden, Visible } from 'react-grid-system';
11
9
  import { getFormattedPrice } from '../../../../framework/utils/CommonUtils';
@@ -30,10 +28,7 @@ interface IRequestedCarsSection {
30
28
  initHotjar:() => void;
31
29
  }
32
30
 
33
- const RequestedCarsSection = ({ t, getSupportedImageFormat, requestedCars, redirectToCar, LinkRouter, initHotjar }: IRequestedCarsSection) => {
34
- useEffect(() => {
35
- initHotjar();
36
- }, []);
31
+ const RequestedCarsSection = ({ t, getSupportedImageFormat, requestedCars, redirectToCar, LinkRouter }: IRequestedCarsSection) => {
37
32
  const onDetailsClick = (event: React.MouseEvent, carId: string) => {
38
33
  redirectToCar(carId);
39
34
  event.preventDefault();
@@ -21,7 +21,7 @@ const SupportSection: React.FunctionComponent<IProps> = ({ t , Link }) => {
21
21
  <div className={styles.text}>
22
22
  {t('DealerDashboardPage:requestedCars.customerServiceText')}</div>
23
23
  <div className={styles.contactButton}>
24
- <Link link='/account/kontakt'>
24
+ <Link to='/account/kontakt'>
25
25
  <Button size='small' color='success' variant='contained'>{t('DealerDashboardPage:requestedCars.contact')}</Button>
26
26
  </Link>
27
27
  </div>