9c0df36e16
* style: enforce sorting of imports * style: alphabetize imports * style: merge duplicated imports
23 lines
589 B
JavaScript
23 lines
589 B
JavaScript
import React from 'react';
|
|
import { Route } from 'react-router-dom';
|
|
|
|
import { View } from 'loot-design/src/components/common';
|
|
|
|
import CashFlow from './CashFlow';
|
|
import NetWorth from './NetWorth';
|
|
import Overview from './Overview';
|
|
|
|
class Reports extends React.Component {
|
|
render() {
|
|
return (
|
|
<View style={{ flex: 1 }}>
|
|
<Route path="/reports" exact component={Overview} />
|
|
<Route path="/reports/net-worth" exact component={NetWorth} />
|
|
<Route path="/reports/cash-flow" exact component={CashFlow} />
|
|
</View>
|
|
);
|
|
}
|
|
}
|
|
|
|
export default Reports;
|