refactor: remove unused code and packages
This commit is contained in:
Generated
+519
-3426
File diff suppressed because it is too large
Load Diff
+1
-2
@@ -37,8 +37,7 @@
|
||||
"react-feather": "^2.0.9",
|
||||
"react-identicons": "^1.2.5",
|
||||
"react-router-dom": "^5.2.0",
|
||||
"react-syntax-highlighter": "^15.4.3",
|
||||
"web3": "^1.3.4"
|
||||
"react-syntax-highlighter": "^15.4.3"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@testing-library/jest-dom": "^5.11.10",
|
||||
|
||||
@@ -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