diff --git a/nym-wallet/public/index.html b/nym-wallet/public/index.html index 8837415c82..e9696fdc50 100644 --- a/nym-wallet/public/index.html +++ b/nym-wallet/public/index.html @@ -1,17 +1,11 @@ - - - - - - - Nym Wallet - - -
- + + + + Nym Wallet + + +
+ diff --git a/nym-wallet/src/theme/index.tsx b/nym-wallet/src/theme/index.tsx index 5a701dbabf..70470845e6 100644 --- a/nym-wallet/src/theme/index.tsx +++ b/nym-wallet/src/theme/index.tsx @@ -3,19 +3,14 @@ import { createTheme, ThemeProvider } from '@mui/material/styles'; import { CssBaseline } from '@mui/material'; import { getDesignTokens } from './theme'; import { ClientContext } from '../context/main'; +import { NymWalletThemeWithMode } from './NymWalletTheme'; /** * Provides the theme for the Network Explorer by reacting to the light/dark mode choice stored in the app context. */ export const NymWalletTheme: React.FC = ({ children }) => { const { mode } = useContext(ClientContext); - const theme = React.useMemo(() => createTheme(getDesignTokens(mode)), [mode]); - return ( - - - {children} - - ); + return {children}; }; export const WelcomeTheme: React.FC = ({ children }) => {