createMuitheme deprecated

This commit is contained in:
Uwe Cerron 2021-10-31 17:30:32 -04:00
parent 1aae052784
commit 778fc93cee
1 changed files with 2 additions and 2 deletions

View File

@ -4,7 +4,7 @@ import { TokenListContainer } from "@solana/spl-token-registry";
import { Provider } from "@project-serum/anchor";
import { Swap as SwapClient } from "@project-serum/swap";
import {
createMuiTheme,
createTheme,
ThemeOptions,
ThemeProvider,
} from "@material-ui/core/styles";
@ -61,7 +61,7 @@ export default function Swap(props: SwapProps): ReactElement {
// @ts-ignore
const swapClient = new SwapClient(provider, tokenList);
const theme = createMuiTheme(
const theme = createTheme(
materialTheme || {
palette: {
primary: {