File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3232 "@solid-primitives/storage" : " ^2.1.4" ,
3333 "@solid-primitives/utils" : " ^6.2.3" ,
3434 "@solid.js/docs" : " ^1.0.56" ,
35+ "@solidjs/meta" : " ^0.29.4" ,
3536 "@solidjs/router" : " ^0.13.1" ,
3637 "@types/shopify-buy" : " npm:@brandboostinggmbh/shopify-buy-types@^2.14.6" ,
3738 "babel-preset-solid" : " 1.8.16" ,
Original file line number Diff line number Diff line change @@ -7,30 +7,29 @@ import { AppContextProvider } from './AppContext';
77import { preventSmoothScrollOnTabbing } from './utils' ;
88
99export const App = ( ) => {
10-
1110 preventSmoothScrollOnTabbing ( ) ;
1211
1312 return (
14- < MetaProvider >
15- < main class = "min-h-screen" >
16- < Router root = { ( props ) => (
17- < AppContextProvider >
18- < Header / >
19- { /* two div wrappers to make page animation work and performant */ }
20- < div id = "main-content" >
21- < div >
22- { /* <TransitionRoutes> */ }
23- < Suspense >
24- { props . children }
25- </ Suspense >
26- { /* </TransitionRoutes> */ }
13+ < main class = "min-h-screen" >
14+ < Router
15+ root = { ( props ) => (
16+ < MetaProvider >
17+ < AppContextProvider >
18+ < Header />
19+ { /* two div wrappers to make page animation work and performant */ }
20+ < div id = "main-content" >
21+ < div >
22+ { /* <TransitionRoutes> */ }
23+ < Suspense > { props . children } </ Suspense >
24+ { /* </TransitionRoutes> */ }
25+ </ div >
2726 </ div >
28- </ div >
29- </ AppContextProvider >
30- ) } >
31- { routes }
32- </ Router >
33- </ main >
34- </ MetaProvider >
27+ </ AppContextProvider >
28+ </ MetaProvider >
29+ ) }
30+ >
31+ { routes }
32+ </ Router >
33+ </ main >
3534 ) ;
3635} ;
You can’t perform that action at this time.
0 commit comments