Skip to content

Commit 7898122

Browse files
update link tags
1 parent 2dfd122 commit 7898122

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/html.js

+4-2
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,15 @@ export default function HTML(props) {
2424
rel="preload"
2525
href="https://cdn.jsdelivr.net/npm/instantsearch.css@7.3.1/themes/algolia-min.css"
2626
as="style"
27-
onLoad="this.onload=null;this.rel='stylesheet'"
27+
onload="this.rel='stylesheet'"
28+
onerror="this.rel=null"
2829
/>
2930
<link
3031
rel="preload"
3132
href="https://rsms.me/inter/inter.css"
3233
as="style"
33-
onLoad="this.onload=null;this.rel='stylesheet'"
34+
onload="this.rel='stylesheet'"
35+
onerror="this.rel=null"
3436
/>`,
3537
}}
3638
/>

0 commit comments

Comments
 (0)