Skip to content

Commit

Permalink
UI: Add identity id tooltip to Grain Accounts page (#3099)
Browse files Browse the repository at this point in the history
  • Loading branch information
blueridger committed Jul 30, 2021
1 parent f472480 commit 7cfd3b8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/sourcecred/src/ui/components/AccountOverview.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ import * as G from "../../core/ledger/grain";
import {useLedger} from "../utils/LedgerContext";
import {formatTimestamp} from "../utils/dateHelpers";
import {makeStyles} from "@material-ui/core/styles";
import IdentityDetails from "./LedgerViewer/IdentityDetails";

type OverviewProps = {|+currency: CurrencyDetails|};

Expand Down Expand Up @@ -77,7 +78,7 @@ export const AccountOverview = ({
const AccountRow = (account: Account, suffix: string, decimals: number) => (
<TableRow key={account.identity.id}>
<TableCell component="th" scope="row">
{account.identity.name}
<IdentityDetails id={account.identity.id} name={account.identity.name} />
</TableCell>
<TableCell align="right">{account.active ? "✅" : "🛑"}</TableCell>
<TableCell align="right">
Expand Down

0 comments on commit 7cfd3b8

Please sign in to comment.