From 86116eb0cd2af14289bddfaddfa73e284b859423 Mon Sep 17 00:00:00 2001 From: Elar Saks Date: Mon, 7 Aug 2023 20:57:00 +0300 Subject: [PATCH] Remove unused vars. --- cmd/react_dashboard/src/App.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/react_dashboard/src/App.tsx b/cmd/react_dashboard/src/App.tsx index f31104b..aec14e0 100644 --- a/cmd/react_dashboard/src/App.tsx +++ b/cmd/react_dashboard/src/App.tsx @@ -6,7 +6,7 @@ import Background from "components/layout/Background"; import BlockDiv from "components/BlockDiv"; import Loader from "components/shared/Loader"; import Notification from "components/shared/Notification"; -import React, { createContext, useContext, useEffect, useState } from "react"; +import React, { createContext, useEffect, useState } from "react"; import styled from "styled-components"; import Wallet from "components/wallet/Wallet"; const AppWrapper = styled.div` @@ -35,7 +35,7 @@ const WalletWrapperContainer = styled.div` } `; -export const MiningContext = React.createContext({ +export const MiningContext = createContext({ mining: false, setMining: () => {}, });