Rename Main to Pim.

master
Tom Hacohen 7 years ago
parent c10a4cc924
commit 8e2a465120

@ -10,7 +10,7 @@ import { JournalsData, EntriesType, CredentialsData } from './store';
import { syncEntriesToItemMap, syncEntriesToCalendarItemMap } from './journal-processors'; import { syncEntriesToItemMap, syncEntriesToCalendarItemMap } from './journal-processors';
class Main extends React.Component { class Pim extends React.Component {
props: { props: {
etesync: CredentialsData; etesync: CredentialsData;
journals: JournalsData; journals: JournalsData;
@ -85,4 +85,4 @@ class Main extends React.Component {
} }
} }
export default Main; export default Pim;

@ -7,7 +7,7 @@ import { routeResolver } from './App';
import LoadingIndicator from './LoadingIndicator'; import LoadingIndicator from './LoadingIndicator';
import Journal from './Journal'; import Journal from './Journal';
import Main from './Main'; import Pim from './Pim';
import { store, JournalsType, EntriesType, fetchJournals, fetchEntries, StoreState, CredentialsData } from './store'; import { store, JournalsType, EntriesType, fetchJournals, fetchEntries, StoreState, CredentialsData } from './store';
@ -69,7 +69,7 @@ class SyncGate extends React.Component {
<Route <Route
path={routeResolver.getRoute('pim')} path={routeResolver.getRoute('pim')}
render={({match}) => ( render={({match}) => (
<Main etesync={this.props.etesync} journals={journals} entries={this.props.entries} match={match} /> <Pim etesync={this.props.etesync} journals={journals} entries={this.props.entries} match={match} />
)} )}
/> />
<Route <Route

Loading…
Cancel
Save