Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
majakomel committed Nov 26, 2024
1 parent b741428 commit 10d9c97
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions pages/_app.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,11 @@ export const firaSans = Fira_Sans({
})

export default function App({ Component, pageProps, err }) {
console.log('pageProps', pageProps)
const router = useRouter()

useEffect(() => {
const handleStart = (url) => {
const handleStart = () => {
NProgress.start()
}
const handleStop = () => {
Expand All @@ -52,7 +53,7 @@ export default function App({ Component, pageProps, err }) {
}
`}</style>
<LocaleProvider>
<Layout isEmbeddedView={!!pageProps?.isEmbeddedView}>
<Layout isEmbeddedView={false}>
<Component {...pageProps} err={err} />
</Layout>
</LocaleProvider>
Expand Down

0 comments on commit 10d9c97

Please sign in to comment.