Skip to content

Commit f286487

Browse files
committed
🐛 Adds text/css type attr for custom stylesheets (#560)
1 parent 0e101b6 commit f286487

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/utils/ThemeHelper.js

+1
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ export const LoadExternalTheme = function th() {
3232
const preloadTheme = (href) => {
3333
const link = document.createElement('link');
3434
link.rel = 'stylesheet';
35+
link.type = 'text/css'
3536
link.href = href;
3637
document.head.appendChild(link);
3738
return new Promise((resolve, reject) => {

0 commit comments

Comments
 (0)