refactor: remove unused code and packages

This commit is contained in:
Vojtech Simetka
2021-04-02 15:12:47 +02:00
parent 009de5924e
commit 9838aa70c8
4 changed files with 521 additions and 3446 deletions
-8
View File
@@ -8,14 +8,6 @@ import CssBaseline from '@material-ui/core/CssBaseline';
import BaseRouter from './routes/routes';
import { lightTheme, darkTheme } from './theme';
declare global {
interface Window {
ethereum: {};
web3: {};
}
}
function App() {
const [themeMode, toggleThemeMode] = useState('light');
+1 -10
View File
@@ -6,7 +6,7 @@ import { Card, CardContent, Typography } from '@material-ui/core/';
import EthereumAddress from '../components/EthereumAddress';
import { Skeleton } from '@material-ui/lab';
import type { ChequebookAddressResponse } from '@ethersphere/bee-js';
import type { ChequebookAddressResponse, NodeAddresses } from '@ethersphere/bee-js';
const useStyles = makeStyles((theme: Theme) =>
createStyles({
@@ -28,15 +28,6 @@ const useStyles = makeStyles((theme: Theme) =>
}),
);
interface NodeAddresses {
overlay: string,
underlay: string[],
ethereum: string,
public_key: string,
pss_public_key: string
}
interface IProps{
nodeAddresses: NodeAddresses | null,
isLoadingNodeAddresses: boolean,