refactor: remove unused code and packages
This commit is contained in:
@@ -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');
|
||||
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user