mirror of
https://github.com/logos-blockchain/logos-blockchain-pocs.git
synced 2026-01-07 07:33:12 +00:00
Update names and paths.
This commit is contained in:
parent
5cec0498b2
commit
2feef4b21f
@ -26,7 +26,6 @@
|
||||
"prop-types": "^15.7.2",
|
||||
"notistack": "^1.0.10"
|
||||
},
|
||||
"homepage": "https://ben-haslam.github.io/Alternative-Uniswap-Interface/",
|
||||
"scripts": {
|
||||
"deploy": "gh-pages -d build",
|
||||
"start": "react-scripts start",
|
||||
@ -52,4 +51,4 @@
|
||||
"last 1 safari version"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -31,11 +31,11 @@ const App = () => {
|
||||
render={(network) => (
|
||||
<div>
|
||||
<NarBar />
|
||||
<Route exact path="/Alternative-Uniswap-Interface/">
|
||||
<Route exact path="/">
|
||||
<CoinSwapper network={network} />
|
||||
</Route>
|
||||
|
||||
<Route exact path="/Alternative-Uniswap-Interface/liquidity">
|
||||
<Route exact path="/liquidity">
|
||||
<Liquidity network={network} />
|
||||
</Route>
|
||||
</div>
|
||||
|
||||
@ -270,7 +270,7 @@ function CoinSwapper(props) {
|
||||
).then((data) => setReserves(data));
|
||||
}
|
||||
|
||||
if (coin1.address && props.network.account &&!wrongNetworkOpen) {
|
||||
if (coin1.address && props.network.account && !wrongNetworkOpen) {
|
||||
getBalanceAndSymbol(
|
||||
props.network.account,
|
||||
coin1.address,
|
||||
@ -278,7 +278,7 @@ function CoinSwapper(props) {
|
||||
props.network.signer,
|
||||
props.network.weth.address,
|
||||
props.network.coins
|
||||
).then(
|
||||
).then(
|
||||
(data) => {
|
||||
setCoin1({
|
||||
...coin1,
|
||||
@ -287,7 +287,7 @@ function CoinSwapper(props) {
|
||||
}
|
||||
);
|
||||
}
|
||||
if (coin2.address && props.network.account &&!wrongNetworkOpen) {
|
||||
if (coin2.address && props.network.account && !wrongNetworkOpen) {
|
||||
getBalanceAndSymbol(
|
||||
props.network.account,
|
||||
coin2.address,
|
||||
@ -295,7 +295,7 @@ function CoinSwapper(props) {
|
||||
props.network.signer,
|
||||
props.network.weth.address,
|
||||
props.network.coins
|
||||
).then(
|
||||
).then(
|
||||
(data) => {
|
||||
setCoin2({
|
||||
...coin2,
|
||||
@ -326,7 +326,7 @@ function CoinSwapper(props) {
|
||||
/>
|
||||
<WrongNetwork
|
||||
open={wrongNetworkOpen}
|
||||
/>
|
||||
/>
|
||||
|
||||
{/* Coin Swapper */}
|
||||
<Container maxWidth="xs">
|
||||
@ -416,10 +416,6 @@ function CoinSwapper(props) {
|
||||
justifyContent="center"
|
||||
alignItems="flex-end"
|
||||
>
|
||||
<p>
|
||||
Alternative Uniswap Interface | Get AUT for use in the bakerloo testnet{" "}
|
||||
<a href="https://faucet.bakerloo.autonity.network/">here</a>
|
||||
</p>
|
||||
</Grid>
|
||||
</div>
|
||||
);
|
||||
|
||||
@ -49,7 +49,7 @@ function ConnectWalletPage() {
|
||||
<div>
|
||||
<div className="Title">
|
||||
<h1 className="navbar-logo">
|
||||
Alternative Uniswap Interface
|
||||
Nomiswap
|
||||
</h1>
|
||||
</div>
|
||||
|
||||
@ -73,10 +73,6 @@ function ConnectWalletPage() {
|
||||
justifyContent="center"
|
||||
alignItems="flex-end"
|
||||
>
|
||||
<p>
|
||||
Alternative Uniswap Interface | Get AUT for use in the bakerloo testnet{" "}
|
||||
<a href="https://faucet.bakerloo.autonity.network/">here</a>
|
||||
</p>
|
||||
</Grid>
|
||||
</div>
|
||||
);
|
||||
|
||||
@ -38,9 +38,9 @@ function Liquidity(props) {
|
||||
|
||||
const deploy_or_remove = (deploy) => {
|
||||
if (deploy === true) {
|
||||
return <LiquidityDeployer network={props.network}/>;
|
||||
return <LiquidityDeployer network={props.network} />;
|
||||
}
|
||||
return <LiquidityRemover network={props.network}/>;
|
||||
return <LiquidityRemover network={props.network} />;
|
||||
};
|
||||
|
||||
return (
|
||||
@ -62,10 +62,6 @@ function Liquidity(props) {
|
||||
justifyContent="center"
|
||||
alignItems="flex-end"
|
||||
>
|
||||
<p>
|
||||
Alternative Uniswap Interface | Get AUT for use in the bakerloo testnet{" "}
|
||||
<a href="https://faucet.bakerloo.autonity.network/">here</a>
|
||||
</p>
|
||||
</Grid>
|
||||
</div>
|
||||
);
|
||||
|
||||
@ -1,12 +1,12 @@
|
||||
export const MenuItems = [
|
||||
{
|
||||
title: "Swap",
|
||||
url: "/Alternative-Uniswap-Interface/",
|
||||
url: "/",
|
||||
cName: "nav-links",
|
||||
},
|
||||
{
|
||||
title: "Liquidity",
|
||||
url: "/Alternative-Uniswap-Interface/liquidity",
|
||||
url: "/liquidity",
|
||||
cName: "nav-links",
|
||||
},
|
||||
];
|
||||
|
||||
@ -11,7 +11,7 @@ class NavBar extends Component {
|
||||
<nav>
|
||||
<div className="Title">
|
||||
<h1 className="navbar-logo">
|
||||
Alternative Uniswap Interface
|
||||
Nomiswap
|
||||
</h1>
|
||||
</div>
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user