Browse Source

Fix rel

tags/0.3.0
TheoryOfNekomata 3 years ago
parent
commit
129dc6b31b
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      packages/react-common-docs/src/components/ThemeToggle/ThemeToggle.tsx

+ 1
- 1
packages/react-common-docs/src/components/ThemeToggle/ThemeToggle.tsx View File

@@ -29,7 +29,7 @@ const applyStyles = (theme) => {
s.setAttribute('rel', 'stylesheet') s.setAttribute('rel', 'stylesheet')
s.removeAttribute('disabled') s.removeAttribute('disabled')
} else { } else {
s.setAttribute('rel', 'alternate')
s.setAttribute('rel', 'alternate stylesheet')
s.setAttribute('disabled', 'disabled') s.setAttribute('disabled', 'disabled')
} }
}) })


Loading…
Cancel
Save