Compare commits

..

No commits in common. "9af710179f8d129d7e17c7dc3d2ddbaa2d5436d9" and "5c7546b0d9a25ea7341765380fda8241b1671e6b" have entirely different histories.

3 changed files with 3 additions and 7 deletions

View File

@ -1,7 +1,7 @@
{ {
"name": "ghost-dao-interface", "name": "ghost-dao-interface",
"private": true, "private": true,
"version": "0.2.13", "version": "0.2.10",
"type": "module", "type": "module",
"scripts": { "scripts": {
"dev": "vite", "dev": "vite",

View File

@ -50,7 +50,6 @@ import ShowerIcon from '@mui/icons-material/Shower';
import { useTokenSymbol } from "../../hooks/tokens"; import { useTokenSymbol } from "../../hooks/tokens";
import { useFtsoPrice, useGhstPrice, useGhostedSupplyPrice } from "../../hooks/prices"; import { useFtsoPrice, useGhstPrice, useGhostedSupplyPrice } from "../../hooks/prices";
import { useLiveBonds } from "../../hooks/bonds/index"; import { useLiveBonds } from "../../hooks/bonds/index";
import pckg from "../../../package.json"
const PREFIX = "NavContent"; const PREFIX = "NavContent";
@ -85,9 +84,6 @@ const NavContent = ({ chainId, addressChainId }) => {
component={GhostIcon} component={GhostIcon}
style={{ width: "150px", height: "150px" }} style={{ width: "150px", height: "150px" }}
/> />
<Box mb="10px" mt="-40px" fontSize="12px" fontWeight="500" lineHeight={"15px"}>
Version {pckg.version}
</Box>
</Link> </Link>
<Box display="flex" flexDirection="column" mt="10px"> <Box display="flex" flexDirection="column" mt="10px">
<Box fontSize="12px" fontWeight="500" lineHeight={"15px"}> <Box fontSize="12px" fontWeight="500" lineHeight={"15px"}>
@ -97,7 +93,7 @@ const NavContent = ({ chainId, addressChainId }) => {
{ghstSymbol} Price: {formatCurrency(ghstPrice, 2)} {ghstSymbol} Price: {formatCurrency(ghstPrice, 2)}
</Box> </Box>
<Box fontSize="12px" fontWeight="500" lineHeight={"15px"}> <Box fontSize="12px" fontWeight="500" lineHeight={"15px"}>
GHOST Supply: {formatCurrency(ghostedSupplyPrice, 2)} Ghosted Supply: {formatCurrency(ghostedSupplyPrice, 2)}
</Box> </Box>
</Box> </Box>
</Box> </Box>

View File

@ -557,7 +557,7 @@ const Bridge = ({ chainId, address, config, connect }) => {
<PrimaryButton <PrimaryButton
fullWidth fullWidth
disabled={ disabled={
isPending || address === "" || gatekeeperAddressEmpty || !convertedReceiver || address === "" || gatekeeperAddressEmpty || !convertedReceiver ||
preparedAmount === 0n || ghstBalance._value < preparedAmount preparedAmount === 0n || ghstBalance._value < preparedAmount
} }
loading={isPending} loading={isPending}