Open
Description
I'm facing an issue with the fonts in my Next.js 14 project with MUIv5 n TypeScript.
I've used the following code to import and set up fonts...,
but the fonts are not changing during the initial rendering. However, after the initial rendering, the fonts switch to the customized ones. All other MUI styles are working fine. I followed this (' https://github.com/mui/material-ui/blob/master/examples/material-ui-nextjs-ts/src/components/ThemeRegistry/theme.ts ') for the setup. Can you help me identify what might be causing this font issue..??