diff --git a/src/layouts/Sidebar.tsx b/src/layouts/Sidebar.tsx
index 58733535..b76ac4f0 100644
--- a/src/layouts/Sidebar.tsx
+++ b/src/layouts/Sidebar.tsx
@@ -191,7 +191,7 @@ const Sidebar = () => {
) : (
close()}
>
diff --git a/src/pages/Dashboard/index.tsx b/src/pages/Dashboard/index.tsx
index 6a5df519..90170ee0 100644
--- a/src/pages/Dashboard/index.tsx
+++ b/src/pages/Dashboard/index.tsx
@@ -20,56 +20,6 @@ import Summary from "./Summary"
import LatestBlock from "components/LatestBlock"
import Tooltip from "components/Tooltip"
import Loading from "components/Loading"
-import Modal from "components/Modal"
-import Button from "components/Button"
-
-const ModalContent = styled.div`
- width: 100%;
- max-width: calc(100vw - 32px);
- margin: 0 auto;
- border-radius: 20px;
- box-shadow: 0 0 40px 0 rgba(0, 0, 0, 0.35);
- background-color: #fff;
- padding: 30px 0px;
- color: #5c5c5c;
- & > div {
- position: relative;
- width: 100%;
- height: auto;
- max-height: 80vh;
- overflow-y: auto;
- padding: 0 30px;
-
- font-size: 14px;
- font-weight: normal;
- font-stretch: normal;
- font-style: normal;
- line-height: 1.71;
- letter-spacing: normal;
- text-align: center;
- color: #5c5c5c;
- }
-
- @media screen and (max-width: ${({ theme }) => theme.breakpoint}) {
- padding: 30px 0px;
- & > div {
- padding: 0 16px;
- }
- }
-`
-
-const ModalTitle = styled.div`
- display: block;
- font-size: 20px;
- font-weight: bold;
- font-stretch: normal;
- font-style: normal;
- line-height: 1.35;
- letter-spacing: normal;
- text-align: center;
- color: #0222ba;
- margin-bottom: 30px;
-`
const Wrapper = styled(container)`
width: 100%;
@@ -300,6 +250,7 @@ const Dashboard = () => {
+ $
{formatMoney(
Number(
lookup(
@@ -310,7 +261,6 @@ const Dashboard = () => {
)
)
)}
- UST
{
/>
- {token0Symbol}-{token1Symbol} /
- {formatMoney(Number(lookup(volumeUst, UST)))} UST
+ {token0Symbol}-{token1Symbol} / $
+ {formatMoney(Number(lookup(volumeUst, UST)))}
)
@@ -510,8 +460,8 @@ const Dashboard = () => {
/>
- {token0Symbol}-{token1Symbol} /
- {formatMoney(Number(lookup(liquidityUst, UST)))} UST
+ {token0Symbol}-{token1Symbol} / $
+ {formatMoney(Number(lookup(liquidityUst, UST)))}
)
@@ -608,7 +558,7 @@ const Dashboard = () => {
width: 230,
Cell: ({ cell: { value } }: any) => (
- {formatMoney(Number(lookup(`${value}`, UST)))} UST
+ ${formatMoney(Number(lookup(`${value}`, UST)))}
),
},
@@ -624,7 +574,7 @@ const Dashboard = () => {
width: 230,
Cell: ({ cell: { value } }: any) => (
- {formatMoney(Number(lookup(`${value}`, UST)))} UST
+ ${formatMoney(Number(lookup(`${value}`, UST)))}
),
},
@@ -646,10 +596,10 @@ const Dashboard = () => {
const { volumeUst } = original
return (
+ $
{formatMoney(
Number(lookup(`${volumeUst * 0.003}`, UST))
- )}{" "}
- UST
+ )}
)
},
@@ -693,45 +643,6 @@ const Dashboard = () => {
/>
- {}} open={() => {}}>
-
-
-
Under maintenance
-
- Terraswap classic dashboard is under maintenance due to the price
- calculation update & historical data recollecting. Apologies for
- any inconvenience.
-
- As-is: Mixed (USTC-based & exchange_rate from Terra
- Oracle)
-
- To-Be: Unify to the Oracle base
-
-
-
window.location.replace("/")}
- style={{
- textTransform: "unset",
- maxWidth: 235,
- borderRadius: 10,
- marginBottom: 4,
- }}
- >
- Back
-
-
-
-
)
}
diff --git a/src/routes.tsx b/src/routes.tsx
index b61095e7..3a356cbf 100644
--- a/src/routes.tsx
+++ b/src/routes.tsx
@@ -6,7 +6,7 @@ import Swap from "./pages/Swap"
export default () => (
- } />
+ } />
} />
} />
} />