From f3b984d03e0bd26fa6ebb4124fdb9a2f53c6fb23 Mon Sep 17 00:00:00 2001 From: Fabian Vives Date: Wed, 19 Oct 2022 16:25:33 -0600 Subject: [PATCH] refactor(webapp): removed box component --- .../src/components/NetworkSelector/index.js | 41 +++++++++---------- 1 file changed, 20 insertions(+), 21 deletions(-) diff --git a/webapp/src/components/NetworkSelector/index.js b/webapp/src/components/NetworkSelector/index.js index 04c0df42..bd534e77 100644 --- a/webapp/src/components/NetworkSelector/index.js +++ b/webapp/src/components/NetworkSelector/index.js @@ -1,7 +1,6 @@ import React, { useState, useEffect } from 'react' import PropTypes from 'prop-types' import clsx from 'clsx' -import Box from '@mui/material/Box' import ExpandMoreIcon from '@mui/icons-material/ExpandMore' import ExpandLessIcon from '@mui/icons-material/ExpandLess' import Typography from '@mui/material/Typography' @@ -100,25 +99,25 @@ const NetworkSelector = ({ title, options, networkLogo }) => { }, [options]) return ( - - +
+
{!open && } {open && } {title} - - - - +
+
+
+
Mainnets - - +
+
Testnets - - - - +
+
+
+
    {networks.mainnet.map((option, i) => (
  • {
  • ))}
- - +
+
    {networks.testnet.map((option, i) => (
  • {
  • ))}
- - - - +
+
+
+
network logo - - +
+
) }