🎨 refactor: 优化代码

This commit is contained in:
arvinxx
2023-07-23 15:54:22 +08:00
parent d112166385
commit 6a8f7dfad4

View File

@@ -3,11 +3,9 @@ import type { AppProps } from 'next/app';
import Layout from '@/layout';
export default ({ Component, pageProps }: AppProps) => {
return (
<Layout>
<Component {...pageProps} />
<Analytics />
</Layout>
);
};
export default ({ Component, pageProps }: AppProps) => (
<Layout>
<Component {...pageProps} />
<Analytics />
</Layout>
);