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';
class Main extends React.Component {
class Pim extends React.Component {
props: {
etesync: CredentialsData;
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 Journal from './Journal';
import Main from './Main';
import Pim from './Pim';
import { store, JournalsType, EntriesType, fetchJournals, fetchEntries, StoreState, CredentialsData } from './store';
@ -69,7 +69,7 @@ class SyncGate extends React.Component {
<Route
path={routeResolver.getRoute('pim')}
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

Loading…
Cancel
Save