From 5cc1dc8174a15254a9eff5d1d63c036bd4d6bada Mon Sep 17 00:00:00 2001 From: Eng Zer Jun Date: Mon, 27 Feb 2023 17:57:41 +0800 Subject: [PATCH] [examples] Update Next.js examples to use built-in font (#36315) Signed-off-by: Eng Zer Jun --- examples/material-next-ts/package.json | 1 - examples/material-next-ts/src/theme.ts | 2 +- examples/material-next/package.json | 1 - examples/material-next/src/theme.js | 2 +- 4 files changed, 2 insertions(+), 4 deletions(-) diff --git a/examples/material-next-ts/package.json b/examples/material-next-ts/package.json index f30f24cb121b16..347f22c596f4d3 100644 --- a/examples/material-next-ts/package.json +++ b/examples/material-next-ts/package.json @@ -16,7 +16,6 @@ "@emotion/styled": "latest", "@mui/icons-material": "latest", "@mui/material": "latest", - "@next/font": "latest", "next": "latest", "react": "latest", "react-dom": "latest" diff --git a/examples/material-next-ts/src/theme.ts b/examples/material-next-ts/src/theme.ts index 4d6b9526bc6e6f..3138902f3fac74 100644 --- a/examples/material-next-ts/src/theme.ts +++ b/examples/material-next-ts/src/theme.ts @@ -1,4 +1,4 @@ -import { Roboto } from '@next/font/google'; +import { Roboto } from 'next/font/google'; import { createTheme } from '@mui/material/styles'; import { red } from '@mui/material/colors'; diff --git a/examples/material-next/package.json b/examples/material-next/package.json index d06cbddcb67940..025032f06627fc 100644 --- a/examples/material-next/package.json +++ b/examples/material-next/package.json @@ -16,7 +16,6 @@ "@emotion/styled": "latest", "@mui/icons-material": "latest", "@mui/material": "latest", - "@next/font": "latest", "next": "latest", "prop-types": "latest", "react": "latest", diff --git a/examples/material-next/src/theme.js b/examples/material-next/src/theme.js index 4d6b9526bc6e6f..3138902f3fac74 100644 --- a/examples/material-next/src/theme.js +++ b/examples/material-next/src/theme.js @@ -1,4 +1,4 @@ -import { Roboto } from '@next/font/google'; +import { Roboto } from 'next/font/google'; import { createTheme } from '@mui/material/styles'; import { red } from '@mui/material/colors';