meriadec
7 years ago
No known key found for this signature in database
GPG Key ID: 1D2FC2305E2CB399
4 changed files with
4 additions and
4 deletions
-
src/components/AccountPage.js
-
src/components/DashboardPage.js
-
src/components/SettingsPage/index.js
-
src/components/Wrapper.js
|
|
@ -28,7 +28,7 @@ class AccountPage extends PureComponent<Props> { |
|
|
|
const { account, accountData } = this.props |
|
|
|
|
|
|
|
return ( |
|
|
|
<Box p={3} flow={3}> |
|
|
|
<Box flow={3}> |
|
|
|
<Box> |
|
|
|
<Text fontSize={4}>{`${account.name} account`}</Text> |
|
|
|
</Box> |
|
|
|
|
|
@ -22,7 +22,7 @@ type Props = { |
|
|
|
class DashboardPage extends PureComponent<Props> { |
|
|
|
render() { |
|
|
|
const { totalBalance } = this.props |
|
|
|
return <Box p={20}>Your balance: {format(totalBalance)}</Box> |
|
|
|
return <Box>Your balance: {format(totalBalance)}</Box> |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
@ -25,7 +25,7 @@ class SettingsPage extends PureComponent<Props, State> { |
|
|
|
const { tab } = this.state |
|
|
|
|
|
|
|
return ( |
|
|
|
<Box p={3} flow={4}> |
|
|
|
<Box flow={4}> |
|
|
|
<Text fontSize={5}>{'Settings'}</Text> |
|
|
|
<Tabs |
|
|
|
index={tab} |
|
|
|
|
|
@ -42,7 +42,7 @@ class Wrapper extends Component<{}> { |
|
|
|
<TopBar /> |
|
|
|
<Box grow relative> |
|
|
|
<UpdateNotifier /> |
|
|
|
<GrowScroll> |
|
|
|
<GrowScroll p={3}> |
|
|
|
<Route path="/" exact component={DashboardPage} /> |
|
|
|
<Route path="/settings" component={SettingsPage} /> |
|
|
|
<Route path="/account/:id" component={AccountPage} /> |
|
|
|