Skip to content

Commit

Permalink
Merge pull request #1223 from tlrobinson/fix-parcel-example
Browse files Browse the repository at this point in the history
Fix Parcel example
  • Loading branch information
theKashey committed Apr 9, 2019
2 parents 2167f9f + 2b8fe30 commit 4ec5d68
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/parcel/src/App.js
@@ -1,5 +1,5 @@
import React from 'react'
import { hot } from 'react-hot-loader/root'
import { hot } from 'react-hot-loader'
import Counter from './Counter'

const App = () => (
Expand All @@ -9,4 +9,4 @@ const App = () => (
</h1>
)

export default hot(App)
export default hot(module)(App)

0 comments on commit 4ec5d68

Please sign in to comment.