Skip to content

Commit b442b3a

Browse files
committed
fix busted theme
1 parent 3db33da commit b442b3a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

wormhole-connect/src/theme.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import grey from '@mui/material/colors/grey';
33
import green from '@mui/material/colors/green';
44
import orange from '@mui/material/colors/orange';
55
import red from '@mui/material/colors/red';
6-
import { PaletteMode, ThemeOptions } from '@mui/material';
6+
import { PaletteMode } from '@mui/material';
77
import { OPACITY } from './utils/style';
88

99
export type PaletteColor = {
@@ -250,7 +250,7 @@ export const getDesignTokens = (customTheme: CustomTheme) => {
250250
const baseTheme = customTheme?.mode === 'light' ? light : dark;
251251
const theme = Object.assign(baseTheme, customTheme) as ExtendedTheme;
252252

253-
return createTheme(theme as ThemeOptions, {
253+
return createTheme({
254254
components: {
255255
MuiPaper: {
256256
styleOverrides: {

0 commit comments

Comments
 (0)