Skip to content

Commit

Permalink
Fixed #925: empty page (#932)
Browse files Browse the repository at this point in the history
* Remove unavailable /address page from navigation

* Cleanup
  • Loading branch information
Hung Nguyen authored and puncsky committed Aug 7, 2019
1 parent 8d493ae commit 41ca7bf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
8 changes: 2 additions & 6 deletions src/shared/address-details/address-details.tsx
Expand Up @@ -20,7 +20,6 @@ import {
} from "../../api-gateway/resolvers/antenna-types";
import { ITokenInfo, Token } from "../../erc20/token";
import { CopyButtonClipboardComponent } from "../common/copy-button-clipboard";
import { Navigation } from "../common/navigation";
import { PageTitle } from "../common/page-title";
import { ShowQrcodeButton } from "../common/show-qrcode-button";
import { SpinPreloader } from "../common/spin-preloader";
Expand Down Expand Up @@ -129,11 +128,8 @@ class AddressDetailsInner extends PureComponent<Props, State> {
return (
<ContentPadding>
<Helmet title={`IoTeX ${t("address.address")} ${address}`} />
<Row style={{ marginTop: 60 }}>
<Col xs={12} style={{ marginTop: -8 }}>
<Navigation />
</Col>
<Col xs={12}>
<Row style={{ marginTop: 60 }} justify="end" type="flex">
<Col xs={24} md={12}>
<SearchBox
enterButton
size="large"
Expand Down
1 change: 0 additions & 1 deletion src/shared/common/navigation.tsx
Expand Up @@ -5,7 +5,6 @@ import withBreadcrumbs, {
import { NavLink } from "react-router-dom";

const routesConfig = [
{ path: "/address", breadcrumb: "Address List" },
{ path: "/action", breadcrumb: "Action List" },
{ path: "/action/:hash", breadcrumb: "Action Detail" },
{ path: "/block", breadcrumb: "Block List" },
Expand Down

0 comments on commit 41ca7bf

Please sign in to comment.