diff --git a/src/app/app.tsx b/src/app/app.tsx index 0ee1d80a..b7c2b576 100644 --- a/src/app/app.tsx +++ b/src/app/app.tsx @@ -1,8 +1,8 @@ import { Route } from 'react-router-dom'; import { AppLayout } from '@components/app.layout'; -import { ProofOfReserve } from '@components/proof-of-reserve/proof-of-reserve'; import { MyVaults } from '@pages/my-vaults/my-vaults'; +import { ProofOfReservePage } from '@pages/proof-of-reserve/proof-of-reserve-page'; import { BalanceContextProvider } from '@providers/balance-context-provider'; import { About } from './pages/about/about'; @@ -19,7 +19,7 @@ export function App(): React.JSX.Element { } /> } /> } /> - } /> + } /> diff --git a/src/app/components/mint-unmint/components/protocol-summary-stack/protocol-summary-stack.tsx b/src/app/components/mint-unmint/components/protocol-summary-stack/protocol-summary-stack.tsx index 2641abcb..9d6495b5 100644 --- a/src/app/components/mint-unmint/components/protocol-summary-stack/protocol-summary-stack.tsx +++ b/src/app/components/mint-unmint/components/protocol-summary-stack/protocol-summary-stack.tsx @@ -1,8 +1,7 @@ // import { ProtocolHistory } from "@components/protocol-history/protocol-history"; - import { Skeleton, Text, VStack } from '@chakra-ui/react'; - import { useBlockchainContext } from '@hooks/use-blockchain-context'; + import { ProtocolSummaryStackLayout } from './components/protocol-summary-stack.layout'; export function ProtocolSummaryStack(): React.JSX.Element { diff --git a/src/app/components/mint-unmint/components/transaction-form/transaction-form.tsx b/src/app/components/mint-unmint/components/transaction-form/transaction-form.tsx index 73d639c9..4309beae 100644 --- a/src/app/components/mint-unmint/components/transaction-form/transaction-form.tsx +++ b/src/app/components/mint-unmint/components/transaction-form/transaction-form.tsx @@ -2,10 +2,10 @@ import { useState } from 'react'; import { Button, FormControl, FormErrorMessage, Text, VStack, useToast } from '@chakra-ui/react'; import { customShiftValue } from '@common/utilities'; +import { useBlockchainContext } from '@hooks/use-blockchain-context'; import { EthereumError } from '@models/error-types'; import { Form, Formik } from 'formik'; -import { useBlockchainContext } from '@hooks/use-blockchain-context'; import { TransactionFormInput } from './components/transaction-form-input'; import { TransactionFormWarning } from './components/transaction-form-warning'; diff --git a/src/app/components/mint-unmint/components/walkthrough/walkthrough.tsx b/src/app/components/mint-unmint/components/walkthrough/walkthrough.tsx index 0a12db82..77c748b5 100644 --- a/src/app/components/mint-unmint/components/walkthrough/walkthrough.tsx +++ b/src/app/components/mint-unmint/components/walkthrough/walkthrough.tsx @@ -1,8 +1,7 @@ - import { Button, HStack, Image, Link, Text } from '@chakra-ui/react'; import { TutorialVideo } from '@components/tutorial-video/tutorial-video'; - import { useBlockchainContext } from '@hooks/use-blockchain-context'; + import { WalkthroughHeader } from './components/walkthrough-header'; import { WalkthroughLayout } from './components/walkthrough.layout'; diff --git a/src/app/components/vaults-list/components/vaults-list-group-container.tsx b/src/app/components/vaults-list/components/vaults-list-group-container.tsx index 90343561..f0e5a7c0 100644 --- a/src/app/components/vaults-list/components/vaults-list-group-container.tsx +++ b/src/app/components/vaults-list/components/vaults-list-group-container.tsx @@ -1,4 +1,3 @@ - import { Button, HStack, Image, Spinner, Text, VStack } from '@chakra-ui/react'; import { VaultCard } from '@components/vault/vault-card'; import { useBlockchainContext } from '@hooks/use-blockchain-context'; diff --git a/src/app/pages/proof-of-reserve/proof-of-reserve-page.tsx b/src/app/pages/proof-of-reserve/proof-of-reserve-page.tsx index 9b211497..69db701b 100644 --- a/src/app/pages/proof-of-reserve/proof-of-reserve-page.tsx +++ b/src/app/pages/proof-of-reserve/proof-of-reserve-page.tsx @@ -1,7 +1,7 @@ import { ProofOfReserve } from '@components/proof-of-reserve/proof-of-reserve'; import { PageLayout } from '@pages/components/page.layout'; -export function About(): React.JSX.Element { +export function ProofOfReservePage(): React.JSX.Element { return ( diff --git a/src/app/providers/balance-context-provider.tsx b/src/app/providers/balance-context-provider.tsx index f39457e1..06251f97 100644 --- a/src/app/providers/balance-context-provider.tsx +++ b/src/app/providers/balance-context-provider.tsx @@ -1,10 +1,10 @@ import { createContext, useContext, useEffect, useState } from 'react'; import { useSelector } from 'react-redux'; +import { useBlockchainContext } from '@hooks/use-blockchain-context'; import { HasChildren } from '@models/has-children'; import { RootState } from '@store/index'; -import { useBlockchainContext } from '@hooks/use-blockchain-context'; import { VaultContext } from './vault-context-provider'; interface VaultContextType { diff --git a/src/app/providers/vault-context-provider.tsx b/src/app/providers/vault-context-provider.tsx index 326bc186..a0174733 100644 --- a/src/app/providers/vault-context-provider.tsx +++ b/src/app/providers/vault-context-provider.tsx @@ -1,10 +1,9 @@ import { createContext } from 'react'; +import { useBlockchainContext } from '@hooks/use-blockchain-context'; import { UseVaultsReturnType, useVaults } from '@hooks/use-vaults'; import { HasChildren } from '@models/has-children'; -import { useBlockchainContext } from '@hooks/use-blockchain-context'; - interface VaultContextType { vaults: UseVaultsReturnType; }