diff --git a/src/App.tsx b/src/App.tsx index 2c7e630..3b78098 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -16,7 +16,7 @@ import SideMenu from './SideMenu'; import Root from './Root'; import { RouteResolver } from './routes'; -import * as C from './Constants'; +import * as C from './constants'; import * as store from './store'; const muiTheme = getMuiTheme({ diff --git a/src/LoginForm.tsx b/src/LoginForm.tsx index 551247d..0ea1710 100644 --- a/src/LoginForm.tsx +++ b/src/LoginForm.tsx @@ -6,7 +6,7 @@ import Toggle from 'material-ui/Toggle'; import { getPalette } from './App'; -import * as C from './Constants'; +import * as C from './constants'; interface FormErrors { errorEmail?: string; diff --git a/src/Root.tsx b/src/Root.tsx index 2503833..e7facd9 100644 --- a/src/Root.tsx +++ b/src/Root.tsx @@ -9,7 +9,7 @@ import LoginForm from './LoginForm'; import { store, StoreState, CredentialsType } from './store'; import { fetchCredentials } from './store/actions'; -import * as C from './Constants'; +import * as C from './constants'; class Root extends React.PureComponent { props: { diff --git a/src/SideMenu.tsx b/src/SideMenu.tsx index ec40cce..067a19f 100644 --- a/src/SideMenu.tsx +++ b/src/SideMenu.tsx @@ -17,7 +17,7 @@ import { routeResolver, getPalette } from './App'; import { store, JournalsType, StoreState, CredentialsData } from './store'; import { logout } from './store/actions'; -import * as C from './Constants'; +import * as C from './constants'; interface PropsType { etesync: CredentialsData | null; diff --git a/src/Constants.tsx b/src/constants/index.ts similarity index 100% rename from src/Constants.tsx rename to src/constants/index.ts