Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
zekraken-bot committed Apr 24, 2023
1 parent 04d8087 commit b35b45c
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ function App() {
const [walletAddress, setWalletAddress] = useState();
const [buttonText, setButtonText] = useState("Connect Wallet");
const [network, setNetwork] = useState();
const [poolName, setPoolName] = useState("test");
const [poolSymbol, setPoolSymbol] = useState("test");
const [swapFeePercentage, setSwapFeePercentage] = useState("0.01");
const [poolName, setPoolName] = useState();
const [poolSymbol, setPoolSymbol] = useState();
const [swapFeePercentage, setSwapFeePercentage] = useState();
const [ownerAddress, setOwnerAddress] = useState(
"0xba1ba1ba1ba1ba1ba1ba1ba1ba1ba1ba1ba1ba1b"
);
Expand Down Expand Up @@ -363,8 +363,11 @@ function App() {
</Button>
</p>
<p align="right">
Wallet Address: {walletAddress.substring(0, 6)}...
{walletAddress.substring(walletAddress.length - 6)}
Wallet Address:{" "}
{walletAddress &&
`${walletAddress.substring(0, 6)}...${walletAddress.substring(
walletAddress.length - 6
)}`}
</p>

<p align="right">Network: {network}</p>
Expand Down

0 comments on commit b35b45c

Please sign in to comment.