Skip to content

Commit

Permalink
fix: prettier and linter fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
rozanagy committed Mar 6, 2024
1 parent b81e8a8 commit 4ef571c
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 12 deletions.
4 changes: 2 additions & 2 deletions src/app/app.tsx
Original file line number Diff line number Diff line change
@@ -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';
Expand All @@ -19,7 +19,7 @@ export function App(): React.JSX.Element {
<Route path="/" element={<Dashboard />} />
<Route path="/my-vaults" element={<MyVaults />} />
<Route path="/how-it-works" element={<About />} />
<Route path="/proof-of-reserve" element={<ProofOfReserve />} />
<Route path="/proof-of-reserve" element={<ProofOfReservePage />} />
</AppLayout>
</BalanceContextProvider>
</VaultContextProvider>
Expand Down
Original file line number Diff line number Diff line change
@@ -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 {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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';

Expand Down
Original file line number Diff line number Diff line change
@@ -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';

Expand Down
Original file line number Diff line number Diff line change
@@ -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';
Expand Down
2 changes: 1 addition & 1 deletion src/app/pages/proof-of-reserve/proof-of-reserve-page.tsx
Original file line number Diff line number Diff line change
@@ -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 (
<PageLayout>
<ProofOfReserve />
Expand Down
2 changes: 1 addition & 1 deletion src/app/providers/balance-context-provider.tsx
Original file line number Diff line number Diff line change
@@ -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 {
Expand Down
3 changes: 1 addition & 2 deletions src/app/providers/vault-context-provider.tsx
Original file line number Diff line number Diff line change
@@ -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;
}
Expand Down

0 comments on commit 4ef571c

Please sign in to comment.