diff --git a/src/App.tsx b/src/App.tsx index d5428fda7..a0d7ef5a1 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -20,6 +20,7 @@ import 'slick-carousel/slick/slick.css'; import 'slick-carousel/slick/slick-theme.css'; import 'react-toastify/dist/ReactToastify.min.css'; import { + fetchCities, fetchDirections, fetchOrigins, fetchPostsTypes, @@ -46,12 +47,14 @@ export const App: React.FC = () => { boundFetchOrigins, boundFetchPostsTypes, boundFetchRegions, + boundFetchCities, boundAuthorities, ] = useActions([ fetchDirections, fetchOrigins, fetchPostsTypes, fetchRegions, + fetchCities, getAuthoritiesAsyncAction, ]); @@ -62,6 +65,7 @@ export const App: React.FC = () => { boundFetchOrigins(); boundFetchPostsTypes(); boundFetchRegions(); + boundFetchCities(); }; fetchProperties(); if (!localStorage.getItem('lang')) localStorage.setItem('lang', 'uk'); @@ -84,24 +88,24 @@ export const App: React.FC = () => {
- -
- - - -
- } - > - - - -