@@ -9,7 +9,6 @@ import { useAppTheme } from 'shared/hooks';
99import { darkScrollbar , getTestSelectorByModule , lightScrollbar } from 'shared/helpers' ;
1010import { Module , SubModule } from 'shared/types' ;
1111import MessageLayout from 'layout/MessageLayout' ;
12- import AxiosInterceptor from '../AxiosInterceptor' ;
1312import ClientLoader from '../ClientLoader' ;
1413
1514const RootPage : React . FC = ( ) => {
@@ -23,20 +22,18 @@ const RootPage: React.FC = () => {
2322 } ) ;
2423
2524 return (
26- < AxiosInterceptor >
27- < ThemeProvider theme = { appTheme } >
28- < GlobalStyles styles = { isDarkTheme ? darkScrollbar ( ) : lightScrollbar ( ) } />
29- < CssBaseline />
30- < ClientLoader />
31- < MessageLayout />
32- < Box
33- data-cy = { getTestSelectorByModule ( Module . shared , SubModule . theme , 'app-theme' ) }
34- data-theme = { appTheme . palette . mode }
35- data-color-scheme-id = { colorSchemeId }
36- sx = { { display : 'contents' } }
37- />
38- </ ThemeProvider >
39- </ AxiosInterceptor >
25+ < ThemeProvider theme = { appTheme } >
26+ < GlobalStyles styles = { isDarkTheme ? darkScrollbar ( ) : lightScrollbar ( ) } />
27+ < CssBaseline />
28+ < ClientLoader />
29+ < MessageLayout />
30+ < Box
31+ data-cy = { getTestSelectorByModule ( Module . shared , SubModule . theme , 'app-theme' ) }
32+ data-theme = { appTheme . palette . mode }
33+ data-color-scheme-id = { colorSchemeId }
34+ sx = { { display : 'contents' } }
35+ />
36+ </ ThemeProvider >
4037 ) ;
4138} ;
4239
0 commit comments