Move the constants to their own module.

master
Tom Hacohen 7 years ago
parent 4722207308
commit 85f5f91f36

@ -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({

@ -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;

@ -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: {

@ -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;

Loading…
Cancel
Save