File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -37,6 +37,14 @@ function HeadInjection() {
3737 name = "viewport"
3838 content = "width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"
3939 />
40+ </ Head >
41+ ) ;
42+ }
43+
44+ function DefaultScripts ( ) {
45+ return (
46+ < >
47+ { /* disable zoom */ }
4048 < Script >
4149 {
4250 // wheel + ctrl - disable zoom on chrome / safari
@@ -71,7 +79,7 @@ function HeadInjection() {
7179 ` }
7280 </ Script >
7381 { /* end region */ }
74- </ Head >
82+ </ >
7583 ) ;
7684}
7785
@@ -109,14 +117,15 @@ function EditorApp({ Component, pageProps }) {
109117 } , [ analyzed ] ) ;
110118
111119 return (
112- < React . Fragment >
120+ < >
113121 < HeadInjection />
122+ < DefaultScripts />
114123 < MuiThemeProvider >
115124 < EditorThemeProvider dark >
116125 < Component { ...pageProps } />
117126 </ EditorThemeProvider >
118127 </ MuiThemeProvider >
119- </ React . Fragment >
128+ </ >
120129 ) ;
121130}
122131
You can’t perform that action at this time.
0 commit comments