Skip to content

Commit

Permalink
chore: update react-bootstrap, react-fetch and typscript-no-babel exa…
Browse files Browse the repository at this point in the history
…mples
  • Loading branch information
alireza-mh committed Aug 15, 2019
1 parent c3c03fa commit 209557d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions examples/react-bootstrap/src/App.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from 'react';
import { hot } from 'react-hot-loader';
import { hot } from 'react-hot-loader/root';
import FormControl from 'react-bootstrap/lib/FormControl';

class App extends React.Component {
Expand All @@ -13,4 +13,4 @@ class App extends React.Component {
}
}

export default hot(module)(App);
export default hot(App);
4 changes: 2 additions & 2 deletions examples/react-refetch/src/App.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from 'react';
import { hot } from 'react-hot-loader';
import { hot } from 'react-hot-loader/root';
import Characters from './Characters';

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

export default hot(module)(App);
export default hot(App);
4 changes: 2 additions & 2 deletions examples/typescript-no-babel/src/App.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import * as React from 'react'
import { hot } from 'react-hot-loader'
import { hot } from 'react-hot-loader/root';
import Counter from './Counter'

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

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

0 comments on commit 209557d

Please sign in to comment.