Skip to content

Commit

Permalink
Celo value decimals
Browse files Browse the repository at this point in the history
  • Loading branch information
hide-on-bush-x committed Mar 2, 2023
1 parent eb1d251 commit ecb9e1c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Expand Up @@ -206,7 +206,7 @@ export const InterfaceCreateSoulname = (): JSX.Element => {
<Input label="Payment asset" value="Celo" />
<Input
label="Registration price"
value={`${registrationPrice.substring(0, 6)} Celo`}
value={`${registrationPrice.substring(0, 7)} Celo`}
/>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/provider/use-metamask.ts
Expand Up @@ -45,7 +45,7 @@ export const useMetamask = ({
useEffect(() => {
const connectWalletOnPageLoad = async (): Promise<void> => {
const metamaskConnected = localStorage.getItem('metamask-connected');

if (walletAddress || !metamaskConnected || metamaskConnected === 'false')
return;

Expand Down

0 comments on commit ecb9e1c

Please sign in to comment.