diff --git a/pairent_frontend_react/src/pages/IndexPage/index.jsx b/pairent_frontend_react/src/pages/IndexPage/index.jsx index 2d97f36..1e03160 100644 --- a/pairent_frontend_react/src/pages/IndexPage/index.jsx +++ b/pairent_frontend_react/src/pages/IndexPage/index.jsx @@ -5,13 +5,15 @@ import { Filters } from "../../API/Filters"; import styled from 'styled-components'; -// ras customization -import './ras.css'; import ApartamentService from "../../API/ApartamentService"; import { HashLoader } from 'react-spinners'; import AwesomeSlider from 'react-awesome-slider'; +import withAutoplay from 'react-awesome-slider/dist/autoplay'; import 'react-awesome-slider/dist/styles.css'; +// ras customization +import './ras.css'; +const AutoplaySlider = withAutoplay(AwesomeSlider); import constants from "../../constants"; @@ -376,10 +378,10 @@ export default class IndexPage extends React.Component { return ( - +
- +