mirror of
https://github.com/MetaFam/TheGame.git
synced 2026-02-17 09:22:02 -05:00
Also replaced the local fonts with Google fonts since they are more performant and easier to package. Created a custom Link component to render the ChakraUI link inside the NextJS Link properly.
14 lines
298 B
TypeScript
14 lines
298 B
TypeScript
import { GlobalStyle, ThemeProvider } from '@metafam/ds';
|
|
import { AppProps } from 'next/app';
|
|
|
|
const app: React.FC<AppProps> = ({ pageProps, Component }) => {
|
|
return (
|
|
<ThemeProvider>
|
|
<GlobalStyle />
|
|
<Component {...pageProps} />
|
|
</ThemeProvider>
|
|
);
|
|
};
|
|
|
|
export default app;
|