mirror of
https://github.com/elyby/accounts-frontend.git
synced 2025-05-31 14:11:58 +05:30
Centralize all redux types into one place, add overrides for the connect, useSelector and useDispatch functions
This commit is contained in:
@@ -2,7 +2,7 @@ import { hot } from 'react-hot-loader/root';
|
||||
import React, { ComponentType } from 'react';
|
||||
import { Route, Switch } from 'react-router-dom';
|
||||
|
||||
import { Store } from 'app/reducers';
|
||||
import { Store } from 'app/types';
|
||||
import AuthFlowRoute from 'app/containers/AuthFlowRoute';
|
||||
import RootPage from 'app/pages/root/RootPage';
|
||||
import { ComponentLoader } from 'app/components/ui/loader';
|
||||
|
||||
@@ -5,7 +5,7 @@ import { HelmetProvider } from 'react-helmet-async';
|
||||
import { History } from 'history';
|
||||
|
||||
import { IntlProvider } from 'app/components/i18n';
|
||||
import { Store } from 'app/reducers';
|
||||
import { Store } from 'app/types';
|
||||
|
||||
interface Props {
|
||||
children: React.ReactNode;
|
||||
|
||||
@@ -3,7 +3,7 @@ import { createMemoryHistory } from 'history';
|
||||
import { DeepPartial } from 'utility-types';
|
||||
|
||||
import storeFactory from 'app/storeFactory';
|
||||
import { RootState } from 'app/reducers';
|
||||
import { State as RootState } from 'app/types';
|
||||
|
||||
import ContextProvider from './ContextProvider';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user