diff --git a/src/components/BorrowInput/index.tsx b/src/components/BorrowInput/index.tsx
index b0da37e..f0c6740 100644
--- a/src/components/BorrowInput/index.tsx
+++ b/src/components/BorrowInput/index.tsx
@@ -10,7 +10,7 @@ import {
LendingReserveParser,
} from "../../models";
import { TokenIcon } from "../TokenIcon";
-import { Button, Card } from "antd";
+import { Card } from "antd";
import { cache, ParsedAccount } from "../../contexts/accounts";
import { NumericInput } from "../Input/numeric";
import { useConnection } from "../../contexts/connection";
@@ -21,6 +21,7 @@ import "./style.less";
import { LABELS } from "../../constants";
import { ActionConfirmation } from "./../ActionConfirmation";
import { BackButton } from "./../BackButton";
+import { ConnectButton } from "../ConnectButton";
export const BorrowInput = (props: {
className?: string;
@@ -150,14 +151,14 @@ export const BorrowInput = (props: {
/>
{name}
-
+ {fromAccounts.length === 0 ? LABELS.NO_DEPOSITS : LABELS.BORROW_ACTION}
+
)}
diff --git a/src/components/ConnectButton/index.tsx b/src/components/ConnectButton/index.tsx
index 1c83076..63d7c23 100644
--- a/src/components/ConnectButton/index.tsx
+++ b/src/components/ConnectButton/index.tsx
@@ -8,9 +8,9 @@ export const ConnectButton = (
props: ButtonProps & React.RefAttributes
) => {
const { wallet, connected } = useWallet();
- const { onClick, children, ...rest } = props;
+ const { onClick, children, disabled, ...rest } = props;
return (
-