Skip to content

Commit 2a54652

Browse files
committed
fix css not loading
1 parent 62a4916 commit 2a54652

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

app/root.res

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
%%raw(`
2+
import "../styles/main.css";
23
import "../styles/_hljs.css";
34
import "../styles/utils.css";
45
@@ -35,8 +36,6 @@ let default = () => {
3536
<style> {React.string("html{opacity: 0;}")} </style>
3637

3738
<link rel="icon" href="data:image/x-icon;base64,AA" />
38-
<link rel="preload" href="../styles/main.css" type_="text/css" />
39-
<link rel="stylesheet" href="../styles/main.css" />
4039
</head>
4140
<body>
4241
<Navigation isOverlayOpen setOverlayOpen />

app/root.resi

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
@react.component
2+
let default: unit => Jsx.element

0 commit comments

Comments
 (0)