From 9620378b43225c928fe0b3447791b1f7acec8518 Mon Sep 17 00:00:00 2001 From: CodinMaster Date: Mon, 9 Aug 2021 12:58:20 +0530 Subject: [PATCH] Add Footer Remove unused variables --- package.json | 3 ++ src/App.js | 2 + src/components/Body/ABIInput.js | 2 +- src/components/Body/AddressInput.js | 4 +- src/components/Body/Output.js | 4 +- src/components/Body/index.js | 4 +- src/components/Body/networkInfo.js | 4 +- src/components/Footer.js | 59 +++++++++++++++++++++++++++++ yarn.lock | 26 +++++++++++++ 9 files changed, 101 insertions(+), 7 deletions(-) create mode 100644 src/components/Footer.js diff --git a/package.json b/package.json index 5d0a9c7..c222728 100644 --- a/package.json +++ b/package.json @@ -7,6 +7,9 @@ "@chakra-ui/react": "^1.6.5", "@emotion/react": "^11", "@emotion/styled": "^11", + "@fortawesome/fontawesome-svg-core": "^1.2.36", + "@fortawesome/free-brands-svg-icons": "^5.15.4", + "@fortawesome/react-fontawesome": "^0.1.15", "@testing-library/jest-dom": "^5.11.4", "@testing-library/react": "^11.1.0", "@testing-library/user-event": "^12.1.10", diff --git a/src/App.js b/src/App.js index a26d022..f5ede79 100644 --- a/src/App.js +++ b/src/App.js @@ -1,12 +1,14 @@ import React from "react"; import Body from "./components/Body/index"; import Navbar from "./components/Navbar"; +import Footer from "./components/Footer"; function App() { return (
+
); } diff --git a/src/components/Body/ABIInput.js b/src/components/Body/ABIInput.js index d92f0ee..26ac5b1 100644 --- a/src/components/Body/ABIInput.js +++ b/src/components/Body/ABIInput.js @@ -1,4 +1,4 @@ -import React, { useState } from "react"; +import React from "react"; import { VStack, FormControl, FormLabel, Button } from "@chakra-ui/react"; import { UnlockIcon } from "@chakra-ui/icons"; import JsonTextArea from "../common/JsonTextArea"; diff --git a/src/components/Body/AddressInput.js b/src/components/Body/AddressInput.js index 5037d0f..8b4e2bb 100644 --- a/src/components/Body/AddressInput.js +++ b/src/components/Body/AddressInput.js @@ -37,7 +37,9 @@ function AddressInput({ onChange={(e) => setNetworkIndex(e.target.value)} > {networkInfo.map((network, i) => ( - + ))}