Remove dependency from next/font
This commit is contained in:
parent
4bbf79c321
commit
f5d476df53
2 changed files with 1 additions and 5 deletions
|
@ -10,7 +10,6 @@
|
|||
"export": "next export"
|
||||
},
|
||||
"dependencies": {
|
||||
"@next/font": "^14.0.4",
|
||||
"mime-types": "^2.1.35"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
|
|
@ -1,20 +1,17 @@
|
|||
import type { AppProps } from 'next/app';
|
||||
import { Inter } from '@next/font/google';
|
||||
|
||||
import 'styles/global.css';
|
||||
import { ThemeProvider, CssBaseline } from '@mui/material';
|
||||
import { getTheme } from '@ente/shared/themes';
|
||||
import { THEME_COLOR } from '@ente/shared/themes/constants';
|
||||
import { APPS } from '@ente/shared/apps/constants';
|
||||
|
||||
const inter = Inter({ subsets: ['latin'], display: 'swap' });
|
||||
|
||||
export default function App({ Component, pageProps }: AppProps) {
|
||||
return (
|
||||
<ThemeProvider theme={getTheme(THEME_COLOR.DARK, APPS.PHOTOS)}>
|
||||
<CssBaseline enableColorScheme />
|
||||
|
||||
<main
|
||||
className={inter.className}
|
||||
style={{
|
||||
display: 'contents',
|
||||
}}>
|
||||
|
|
Loading…
Add table
Reference in a new issue