diff --git a/web/e.cash/pages/_app.js b/web/e.cash/pages/_app.js --- a/web/e.cash/pages/_app.js +++ b/web/e.cash/pages/_app.js @@ -1,24 +1,15 @@ // Copyright (c) 2023 The Bitcoin developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. -import { useState } from 'react'; import { ThemeProvider } from 'styled-components'; -import { ecash, stealth } from '/styles/theme'; +import { ecash } from '/styles/theme'; import GlobalCSS from '/styles/global'; -import { ThemeSwitch } from '/components/atoms'; export default function App({ Component, pageProps }) { - const [theme, setTheme] = useState(stealth); - - const HandleThemeChange = () => { - setTheme(theme === ecash ? stealth : ecash); - }; - return ( - + - ); }