Skip to content

Commit dc516eb

Browse files
committed
ui+settings: fix Bitcoin Unit blank page
1 parent 28176e6 commit dc516eb

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

app/src/components/common/PageHeader.tsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,15 @@ const Styled = {
2828
`,
2929
BackLink: styled.a`
3030
text-transform: uppercase;
31+
color: ${props => props.theme.colors.offWhite};
3132
font-size: ${props => props.theme.sizes.xs};
3233
cursor: pointer;
3334
line-height: 36px;
3435
3536
&:hover {
37+
color: ${props => props.theme.colors.offWhite};
3638
opacity: 80%;
39+
text-decoration: none;
3740
}
3841
`,
3942
};

app/src/components/settings/SettingsPage.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@ import React from 'react';
22
import { Route, Switch } from 'react-router';
33
import { observer } from 'mobx-react-lite';
44
import styled from '@emotion/styled';
5+
import { PUBLIC_URL } from '../../config';
56
import BalanceSettings from './BalanceSettings';
67
import ExplorerSettings from './ExplorerSettings';
78
import GeneralSettings from './GeneralSettings';
89
import UnitSettings from './UnitSettings';
9-
import { PUBLIC_URL } from '../../config';
1010

1111
const Styled = {
1212
Wrapper: styled.div`
@@ -21,7 +21,7 @@ const SettingsPage: React.FC = () => {
2121
<Wrapper>
2222
<Switch>
2323
<Route path={`${PUBLIC_URL}/settings`} exact component={GeneralSettings} />
24-
<Route path={`${PUBLIC_URL}/settings/unit"`} component={UnitSettings} />
24+
<Route path={`${PUBLIC_URL}/settings/unit`} component={UnitSettings} />
2525
<Route path={`${PUBLIC_URL}/settings/balance`} component={BalanceSettings} />
2626
<Route path={`${PUBLIC_URL}/settings/explorers`} component={ExplorerSettings} />
2727
</Switch>

0 commit comments

Comments
 (0)