Compare commits
3 Commits
5c7546b0d9
...
9af710179f
Author | SHA1 | Date | |
---|---|---|---|
9af710179f | |||
e4cad72c43 | |||
5c3fa4d679 |
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "ghost-dao-interface",
|
||||
"private": true,
|
||||
"version": "0.2.10",
|
||||
"version": "0.2.13",
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"dev": "vite",
|
||||
|
@ -50,6 +50,7 @@ import ShowerIcon from '@mui/icons-material/Shower';
|
||||
import { useTokenSymbol } from "../../hooks/tokens";
|
||||
import { useFtsoPrice, useGhstPrice, useGhostedSupplyPrice } from "../../hooks/prices";
|
||||
import { useLiveBonds } from "../../hooks/bonds/index";
|
||||
import pckg from "../../../package.json"
|
||||
|
||||
const PREFIX = "NavContent";
|
||||
|
||||
@ -84,6 +85,9 @@ const NavContent = ({ chainId, addressChainId }) => {
|
||||
component={GhostIcon}
|
||||
style={{ width: "150px", height: "150px" }}
|
||||
/>
|
||||
<Box mb="10px" mt="-40px" fontSize="12px" fontWeight="500" lineHeight={"15px"}>
|
||||
Version {pckg.version}
|
||||
</Box>
|
||||
</Link>
|
||||
<Box display="flex" flexDirection="column" mt="10px">
|
||||
<Box fontSize="12px" fontWeight="500" lineHeight={"15px"}>
|
||||
@ -93,7 +97,7 @@ const NavContent = ({ chainId, addressChainId }) => {
|
||||
{ghstSymbol} Price: {formatCurrency(ghstPrice, 2)}
|
||||
</Box>
|
||||
<Box fontSize="12px" fontWeight="500" lineHeight={"15px"}>
|
||||
Ghosted Supply: {formatCurrency(ghostedSupplyPrice, 2)}
|
||||
GHOST Supply: {formatCurrency(ghostedSupplyPrice, 2)}
|
||||
</Box>
|
||||
</Box>
|
||||
</Box>
|
||||
|
@ -557,7 +557,7 @@ const Bridge = ({ chainId, address, config, connect }) => {
|
||||
<PrimaryButton
|
||||
fullWidth
|
||||
disabled={
|
||||
address === "" || gatekeeperAddressEmpty || !convertedReceiver ||
|
||||
isPending || address === "" || gatekeeperAddressEmpty || !convertedReceiver ||
|
||||
preparedAmount === 0n || ghstBalance._value < preparedAmount
|
||||
}
|
||||
loading={isPending}
|
||||
|
Loading…
Reference in New Issue
Block a user