Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
clmntsnr committed Nov 11, 2024
1 parent 7f9912a commit 8fc3c7a
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion packages/dappkit
7 changes: 5 additions & 2 deletions src/components/element/rewards/ClaimRewardsChainTableRow.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Button, createTable, Icon, Space } from "dappkit";
import { Button, createTable, Icon, Space, Text } from "dappkit";
import { ClaimRewardsTokenRow, ClaimRewardsTokenTable } from "./ClaimRewardsTokenTable";
import Token from "../token/Token";
import { PropsWithChildren, useState } from "react";
Expand Down Expand Up @@ -37,7 +37,10 @@ export default function ClaimRewardsChainTableRow(props: ClaimRewardsChainTableR
claimedColumn={""}>
<Collapsible state={[open, setOpen]}>
<Space size="md" />
<ClaimRewardsTokenTable size="sm" look="soft">
<ClaimRewardsTokenTable
tokenHeader={<Text size="xs" className="pl-md">TOKEN</Text>}

size="sm" look="soft">
<ClaimRewardsTokenTableRow />
<ClaimRewardsTokenTableRow />
<ClaimRewardsTokenTableRow />
Expand Down
3 changes: 2 additions & 1 deletion src/components/element/rewards/ClaimRewardsTokenTableRow.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ export default function ClaimRewardsTokenTableRow(props: PropsWithChildren) {

return (
<ClaimRewardsTokenRow
{...props}
data-look={props?.look ?? "none"}
{...props}
onClick={() => setOpen(o => !o)}
tokenColumn={<Token token={{ symbol: "WETH" }} />}
valueColumn={"3m"}
Expand Down

0 comments on commit 8fc3c7a

Please sign in to comment.