File tree Expand file tree Collapse file tree 2 files changed +1
-6
lines changed Expand file tree Collapse file tree 2 files changed +1
-6
lines changed Original file line number Diff line number Diff line change @@ -27,19 +27,13 @@ SOFTWARE.
27
27
import { useEffect , useState } from 'react' ;
28
28
import { useTranslations } from 'next-intl' ;
29
29
import { useRouter } from 'next/router' ;
30
- import { Html , Head } from 'next/document' ;
31
30
import Script from 'next/script' ;
32
31
33
32
const Builder = ( ) => {
34
33
const translate = useTranslations ( ) ;
35
34
36
35
return (
37
36
< >
38
- < Html >
39
- < Head >
40
- < link rel = "stylesheet" data-name = "vs/editor/editor.main" href = "/third-party/monaco-editor/package/min/vs/editor/editor.main.css" />
41
- </ Head >
42
- </ Html >
43
37
< div >
44
38
< span > { translate . raw ( 'builder-file' ) } </ span >
45
39
< div id = "monaco" />
Original file line number Diff line number Diff line change @@ -35,6 +35,7 @@ class CustomDocument extends Document {
35
35
< link rel = "preconnect" href = "https://fonts.gstatic.com" crossorigin />
36
36
< link href = "https://fonts.googleapis.com/css2?family=Lexend+Zetta:[email protected] & family = Rubik + Mono + One & family = Rubik :ital , wght @0 , 300. .900 ; 1 , 300. .900 & family = Source + Code + Pro :ital , wght @0 , 200. .900 ; 1 , 200. .900 & display = swap " rel = "stylesheet" />
37
37
< title > Just an Ultimate Site Tool Demo</ title >
38
+ < link rel = "stylesheet" data-name = "vs/editor/editor.main" href = "/third-party/monaco-editor/package/min/vs/editor/editor.main.css" />
38
39
</ Head >
39
40
< body >
40
41
< Main > </ Main >
You can’t perform that action at this time.
0 commit comments