mirror of
https://github.com/hanzoai/next.js.git
synced 2026-10-30 14:46:38 +00:00
12 lines
292 B
TypeScript
12 lines
292 B
TypeScript
import React from 'react'
|
|
import type { AppProps } from 'next/app'
|
|
import OnNavigate from '../shared/OnNavigate'
|
|
|
|
export default function App({ Component, pageProps }: AppProps) {
|
|
return (
|
|
<OnNavigate rootPath="/pages-router">
|
|
<Component {...pageProps} />
|
|
</OnNavigate>
|
|
)
|
|
}
|