mirror of
https://github.com/lobehub/lobehub.git
synced 2026-03-27 13:29:15 +07:00
🎨 refactor: 优化代码
This commit is contained in:
@@ -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>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user