File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -20,6 +20,8 @@ import type { AppProps } from "next/app";
2020import { useEffect } from "react" ;
2121import TagManager from "react-gtm-module" ;
2222
23+ const SESSION_TIMEOUT = 15 * 60 * 1000 ; // 15 minutes
24+
2325function MyApp ( { Component, pageProps } : AppProps ) : JSX . Element {
2426 // Set up the site configuration, layout and theme.
2527 const appConfig = config ( ) ;
@@ -41,7 +43,7 @@ function MyApp({ Component, pageProps }: AppProps): JSX.Element {
4143 < DXConfigProvider config = { appConfig } entityListType = { entityListType } >
4244 < Head />
4345 < CssBaseline />
44- < AuthProvider >
46+ < AuthProvider sessionTimeout = { SESSION_TIMEOUT } >
4547 < AppLayout >
4648 < Header { ...layout . header } />
4749 < ExploreStateProvider entityListType = { entityListType } >
You can’t perform that action at this time.
0 commit comments