diff --git a/src/App.tsx b/src/App.tsx index 7c96f54..48fa5a8 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -34,7 +34,6 @@ const App = () => { const themeColor = useSelector((state: RootState) => state.settings.theme) const newApolloClient = useApollo(null) const isMainnet = CHAIN_DETAILS.CHAIN_ID === 'cudos-1' - const state = useSelector((state: RootState) => state.userTransactions) const dispatch = useDispatch() const connectAccount = useCallback(async (walletName: SUPPORTED_WALLET) => { @@ -92,8 +91,7 @@ const App = () => { )} {location.pathname === '/' ? null : ( - {state.loading ? : null} - + }> diff --git a/src/assets/vectors/change-icon.svg b/src/assets/vectors/change-icon.svg deleted file mode 100644 index fe7008a..0000000 --- a/src/assets/vectors/change-icon.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/src/assets/vectors/osmosis-icon.svg b/src/assets/vectors/osmosis-icon.svg new file mode 100644 index 0000000..6f4f9aa --- /dev/null +++ b/src/assets/vectors/osmosis-icon.svg @@ -0,0 +1,123 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/components/Layout/Header.tsx b/src/components/Layout/Header.tsx index 7183da3..98590d1 100644 --- a/src/components/Layout/Header.tsx +++ b/src/components/Layout/Header.tsx @@ -12,7 +12,7 @@ import TestNetLogoHeader from 'assets/vectors/testnet-logo-header.svg?component' import CudosLogo from 'assets/vectors/cudos-logo.svg?component' import LinkIcon from 'assets/vectors/link-icon.svg?component' import { useEffect, useState } from 'react' -import ChangeIcon from 'assets/vectors/change-icon.svg?component' +import OsmosisIcon from 'assets/vectors/osmosis-icon.svg?component' const Header = () => { @@ -55,7 +55,7 @@ const Header = () => { .open('https://frontier.osmosis.zone/?from=ATOM&to=CUDOS', 'Swap Cudos') ?.focus()} > - + Swap diff --git a/src/containers/Dashboard/index.tsx b/src/containers/Dashboard/index.tsx index 907e14e..fda5c9f 100644 --- a/src/containers/Dashboard/index.tsx +++ b/src/containers/Dashboard/index.tsx @@ -50,9 +50,9 @@ const Dashboard = () => { > - - - + + + { // merge the full number together and return it. // If for some insane reason after removing all the 0s we ended up with // '' in the decimal place we just return the full number - return `${formatWholeNumber}${ - formatDecimal.length ? '.' : '' - }${formatDecimal}` + return `${formatWholeNumber}${formatDecimal.length ? '.' : '' + }${formatDecimal}` } // else we return whole number