Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
layershifter committed Oct 25, 2020
1 parent 03c224d commit 55c24df
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
8 changes: 3 additions & 5 deletions docs/src/components/Document.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,9 @@ const Document = ({ Body, children, Head, Html, siteData: { dev, versions } }) =
}.js`}
/>
<script
src={
dev
? ` https://cdn.jsdelivr.net/npm/@hot-loader/react-dom@17.0.0/umd/react-dom.development.js`
: `https://cdn.jsdelivr.net/npm/react-dom@${versions.react}/umd/react-dom.production.min.js`
}
src={`https://cdn.jsdelivr.net/npm/react-dom@${versions.react}/umd/react-dom${
dev ? '.development' : '.production.min'
}.js`}
/>
<script
src={`https://cdn.jsdelivr.net/npm/react-dom@${
Expand Down
2 changes: 2 additions & 0 deletions docs/src/index.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import 'react-hot-loader/patch'

import React from 'react'
import ReactDOM from 'react-dom'

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@
"react-codesandboxer": "^3.1.3",
"react-docgen": "^4.1.0",
"react-dom": "^17.0.0",
"react-hot-loader": "^4.12.11",
"react-hot-loader": "^4.13.0",
"react-intersection-observer": "^8.26.2",
"react-router": "^5.0.0",
"react-router-dom": "^5.0.0",
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -12141,10 +12141,10 @@ react-helmet@^5.2.0:
prop-types "^15.5.4"
react-side-effect "^1.1.0"

react-hot-loader@^4, react-hot-loader@^4.12.11:
version "4.12.21"
resolved "https://registry.yarnpkg.com/react-hot-loader/-/react-hot-loader-4.12.21.tgz#332e830801fb33024b5a147d6b13417f491eb975"
integrity sha512-Ynxa6ROfWUeKWsTHxsrL2KMzujxJVPjs385lmB2t5cHUxdoRPGind9F00tOkdc1l5WBleOF4XEAMILY1KPIIDA==
react-hot-loader@^4, react-hot-loader@^4.13.0:
version "4.13.0"
resolved "https://registry.yarnpkg.com/react-hot-loader/-/react-hot-loader-4.13.0.tgz#c27e9408581c2a678f5316e69c061b226dc6a202"
integrity sha512-JrLlvUPqh6wIkrK2hZDfOyq/Uh/WeVEr8nc7hkn2/3Ul0sx1Kr5y4kOGNacNRoj7RhwLNcQ3Udf1KJXrqc0ZtA==
dependencies:
fast-levenshtein "^2.0.6"
global "^4.3.0"
Expand Down

0 comments on commit 55c24df

Please sign in to comment.