Skip to content

Commit

Permalink
fix(connect-popup): theme provider on logs page
Browse files Browse the repository at this point in the history
  • Loading branch information
martykan committed Aug 19, 2024
1 parent 876ac7e commit f8dd7ea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/connect-popup/src/log.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { ErrorBoundary } from '@trezor/connect-ui/src/support/ErrorBoundary';
import { GlobalStyle } from '@trezor/connect-ui/src/support/GlobalStyle';
import { InfoPanel } from '@trezor/connect-ui/src/components/InfoPanel';
import { View } from '@trezor/connect-ui/src/components/View';
import { Button, Paragraph, THEME } from '@trezor/components';
import { Button, Paragraph, intermediaryTheme } from '@trezor/components';
import { LogMessage } from '@trezor/connect/src/utils/debug';

interface ReactWrapperProps {
Expand All @@ -17,7 +17,7 @@ const MAX_ENTRIES = 1000;
const LOG_DEBOUNCE_TIME = 1000;

const ThemeWrapper = ({ children }: ReactWrapperProps) => (
<ThemeProvider theme={THEME.light}>{children}</ThemeProvider>
<ThemeProvider theme={intermediaryTheme.light}>{children}</ThemeProvider>
);

const Layout = styled.div`
Expand Down

0 comments on commit f8dd7ea

Please sign in to comment.