diff --git a/embark-ui/src/components/Block.js b/embark-ui/src/components/Block.js index a64896c80..2c69a3520 100644 --- a/embark-ui/src/components/Block.js +++ b/embark-ui/src/components/Block.js @@ -4,10 +4,10 @@ import { } from "tabler-react"; import PropTypes from 'prop-types'; - const Block = ({block}) => ( -

Hello

+

Timestamp: {block.timestamp}

+

Gas used: {block.gasUsed}

); diff --git a/embark-ui/src/components/Transaction.js b/embark-ui/src/components/Transaction.js index 5f7288a9c..ffa7e1803 100644 --- a/embark-ui/src/components/Transaction.js +++ b/embark-ui/src/components/Transaction.js @@ -1,13 +1,19 @@ import React from 'react'; +import {Link} from 'react-router-dom'; import { Page } from "tabler-react"; import PropTypes from 'prop-types'; - const Transaction = ({transaction}) => ( -

Hello

+

Block: {transaction.blockNumber}

+

From: {transaction.from}

+

To: {transaction.to}

+

Input: {transaction.input}

+

Gas: {transaction.gas}

+

Gas Price: {transaction.gasPrice}

+

Nonce: {transaction.nonce}

);