diff --git a/src/app/api/additional-content/subtitles.api.ts b/src/app/api/additional-content/subtitles.api.ts index cdee5c571..ed4b82d58 100644 --- a/src/app/api/additional-content/subtitles.api.ts +++ b/src/app/api/additional-content/subtitles.api.ts @@ -7,7 +7,7 @@ const SubtitlesApi = { getAll: () => Agent.get(`${API_ROUTES.SUBTITLES.GET_ALL}`), - getSubtitlesByStreetcodeId: (streetcodeId: number) => Agent.get( + getSubtitlesByStreetcodeId: (streetcodeId: number) => Agent.get( `${API_ROUTES.SUBTITLES.GET_BY_STREETCODE_ID}/${streetcodeId}`, ), diff --git a/src/app/common/components/ProtectedComponent.component.tsx b/src/app/common/components/ProtectedComponent.component.tsx index 202a54b7e..db894df48 100644 --- a/src/app/common/components/ProtectedComponent.component.tsx +++ b/src/app/common/components/ProtectedComponent.component.tsx @@ -9,7 +9,7 @@ import FRONTEND_ROUTES from '../constants/frontend-routes.constants'; import AuthService from '../services/auth-service/AuthService'; type PropsWithChildren = { children: ReactNode }; -const ProtectedComponent:FC = ({ children }): ReactNode => { +const ProtectedComponent:FC = ({ children }) => { const navigate = useNavigate(); const isLoggedIn = AuthService.isLoggedIn(); diff --git a/src/features/MainPage/NewsSlider/constants/newsSliderProps.constant.ts b/src/features/MainPage/NewsSlider/constants/newsSliderProps.constant.ts index cccdb1ccd..5ef3f32c3 100644 --- a/src/features/MainPage/NewsSlider/constants/newsSliderProps.constant.ts +++ b/src/features/MainPage/NewsSlider/constants/newsSliderProps.constant.ts @@ -2,6 +2,7 @@ const NEWS_SLIDER_PROPS = { touchAction: 'pan-y', touchThreshold: 25, transform: 'translateZ(0)', + dots: true, infinite: true, variableWidth: true, slidesToShow: 1,