diff --git a/dapp/src/DApp.tsx b/dapp/src/DApp.tsx
index e0e45ef02..085b6fbe8 100644
--- a/dapp/src/DApp.tsx
+++ b/dapp/src/DApp.tsx
@@ -1,5 +1,5 @@
import React from "react"
-import { ChakraProvider, Flex } from "@chakra-ui/react"
+import { ChakraProvider } from "@chakra-ui/react"
import { useDetectThemeMode } from "./hooks"
import theme from "./theme"
import { LedgerWalletAPIProvider, WalletContextProvider } from "./contexts"
@@ -10,12 +10,12 @@ function DApp() {
useDetectThemeMode()
return (
-
+ <>
-
+ >
)
}
diff --git a/dapp/src/components/Header/ConnectWallet.tsx b/dapp/src/components/Header/ConnectWallet.tsx
index c632fb6e5..8b35a010b 100644
--- a/dapp/src/components/Header/ConnectWallet.tsx
+++ b/dapp/src/components/Header/ConnectWallet.tsx
@@ -37,7 +37,7 @@ function ConnectButton({
}
+ leftIcon={}
rightIcon={
!account ? (
// TODO: Add correct text for tooltip
@@ -59,8 +59,8 @@ export default function ConnectWallet() {
const { btcAccount, ethAccount } = useWalletContext()
return (
-
-
+
+
Balance
{!btcAccount || btcAccount?.balance.isZero()
diff --git a/dapp/src/components/Header/index.tsx b/dapp/src/components/Header/index.tsx
index df7e8d8ff..838ed37b2 100644
--- a/dapp/src/components/Header/index.tsx
+++ b/dapp/src/components/Header/index.tsx
@@ -1,22 +1,11 @@
import React from "react"
-import { Button, Flex, Icon, Switch } from "@chakra-ui/react"
+import { Flex } from "@chakra-ui/react"
import ConnectWallet from "./ConnectWallet"
-import { ChevronRight } from "../../static/icons"
-import { USD } from "../../constants"
export default function Header() {
return (
-
-
-
-
-
- {/* TODO: Handle click actions */}
- Show values in {USD.symbol}
- }>
- Read documentation
-
-
+
+
)
}
diff --git a/dapp/src/components/Overview/PositionDetails.tsx b/dapp/src/components/Overview/PositionDetails.tsx
index 8415c8910..972db661f 100644
--- a/dapp/src/components/Overview/PositionDetails.tsx
+++ b/dapp/src/components/Overview/PositionDetails.tsx
@@ -2,7 +2,6 @@ import React from "react"
import {
Text,
Button,
- Box,
HStack,
Tooltip,
Icon,
@@ -14,9 +13,9 @@ import { Info } from "../../static/icons"
export default function PositionDetails() {
return (
-
-
- Your positions
+
+
+ Your positions
34.75
@@ -33,7 +32,7 @@ export default function PositionDetails() {
-
+
{/* TODO: Handle click actions */}
diff --git a/dapp/src/components/Overview/index.tsx b/dapp/src/components/Overview/index.tsx
index 2d3a8ac42..38f7d0068 100644
--- a/dapp/src/components/Overview/index.tsx
+++ b/dapp/src/components/Overview/index.tsx
@@ -1,27 +1,46 @@
import React from "react"
-import { Grid, GridItem, useColorModeValue } from "@chakra-ui/react"
+import {
+ Button,
+ Flex,
+ Grid,
+ GridItem,
+ Icon,
+ Switch,
+ useColorModeValue,
+} from "@chakra-ui/react"
import PositionDetails from "./PositionDetails"
import Statistics from "./Statistics"
import TransactionHistory from "./TransactionHistory"
+import { USD } from "../../constants"
+import { ChevronRight } from "../../static/icons"
export default function Overview() {
const bg = useColorModeValue("white", "grey.400")
return (
-
-
-
-
-
-
-
-
-
-
-
+
+
+ {/* TODO: Handle click actions */}
+ Show values in {USD.symbol}
+ }>
+ Read documentation
+
+
+
+
+
+
+
+
+
+
+
+
+
+
)
}