Skip to content

Commit

Permalink
solve PR comments
Browse files Browse the repository at this point in the history
  • Loading branch information
yvesfracari committed Sep 25, 2024
1 parent fee49a5 commit d20ef38
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 11 deletions.
5 changes: 0 additions & 5 deletions apps/withdraw-pool/src/app/page.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
"use client";

import { Input } from "@bleu/cow-hooks-ui";
import { Button, Form } from "@bleu/ui";
import {
type HookDappContext,
Expand Down Expand Up @@ -61,10 +60,6 @@ export default function Page() {
/>
{poolId && (
<div className="size-full flex flex-col gap-2">
{/* <PoolBalancesPreview
label="Current balance"
poolBalance={poolBalances}
/> */}
<WithdrawPctSlider />
<PoolBalancesPreview
label="Withdraw balance"
Expand Down
4 changes: 1 addition & 3 deletions apps/withdraw-pool/src/components/PoolBalancePreview.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,7 @@ export function PoolBalancesPreview({
}) {
return (
<div className={cn("p-2", className)}>
<div>
<Label>{label}</Label>
</div>
<Label>{label}</Label>
<div className={"flex flex-col gap-2 p-2"}>
{poolBalance.map((poolBalance) => (
<PoolBalancePreview
Expand Down
4 changes: 2 additions & 2 deletions packages/cow-hooks-ui/src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ export * from "./ExplorerLink";
export * from "./TokenAmount";
export * from "./TokenInfo";
export * from "./TokenLogo";
export * from "./ui/input";
export * from "./ui/tooltip";
export * from "./ui/Input";
export * from "./ui/Tooltip";
2 changes: 1 addition & 1 deletion packages/cow-hooks-ui/src/ui/input.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import {
useFormContext,
} from "react-hook-form";

import { InfoTooltip } from "./tooltip";
import { InfoTooltip } from "./Tooltip";

interface IInput extends Omit<HTMLProps<HTMLInputElement>, "name"> {
name: string;
Expand Down

0 comments on commit d20ef38

Please sign in to comment.