Skip to content

Commit

Permalink
fix(ui): spacing and balance
Browse files Browse the repository at this point in the history
  • Loading branch information
bitbeckers committed Oct 1, 2023
1 parent 80da874 commit 4c5b673
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
7 changes: 5 additions & 2 deletions src/components/DetailsBox.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export const ClaimDetails = ({
claimAmt,
claimPeriod,
unit,
claimId
claimId,
}: {
claimAmt: bigint;
claimPeriod: bigint;
Expand All @@ -34,7 +34,10 @@ export const ClaimDetails = ({
unit: unit,
})}
/>
<DataIndicator label="Claim Period" data={formatPeriods(claimPeriod)} />
<DataIndicator
label="Claim Period"
data={formatPeriods(claimPeriod.toString())}
/>
<DataIndicator label="Balance" data={"TODO"} />
<StyledRouterLink to={`/history/${claimId || ""}`}>
View History
Expand Down
3 changes: 0 additions & 3 deletions src/components/HistoryCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,8 @@ import { Avatar, Badge, Button, Card, ParMd } from "@daohaus/ui";
import cookie from "../assets/cookie.png";
import { useProfile } from "@daohaus/moloch-v3-hooks";
import { Cookie, Reason, db } from "../utils/indexer/db";
import { useEffect, useState } from "react";
import { useTxBuilder } from "@daohaus/tx-builder";
import { APP_TX } from "../legos/tx";
import { useDHConnect } from "@daohaus/connect";
import { assembleTxArgs } from "@daohaus/contract-utils";
import { CookieJarCore } from "../abis";
import { useLiveQuery } from "dexie-react-hooks";

Expand Down
6 changes: 3 additions & 3 deletions src/utils/indexer/db.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ export interface CookieJar {
address: string;
type: string;
name: string;
description?: string;
link?: string;
initializer?: Initializer;
description: string;
link: string;
initializer: Initializer;
}

export interface Subscription {
Expand Down

0 comments on commit 4c5b673

Please sign in to comment.