Skip to content

Commit

Permalink
changed railsContext to _railsContext since its not used
Browse files Browse the repository at this point in the history
  • Loading branch information
jbhatab committed May 7, 2016
1 parent d4a4f64 commit 8397068
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import ReactOnRails from 'react-on-rails';

import HelloWorld from '../containers/HelloWorld';

const HelloWorldApp = (props, railsContext) => (
const HelloWorldApp = (props, _railsContext) => (
<HelloWorld {...props} />
);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import HelloWorld from '../containers/HelloWorld';
// See documentation for https://github.com/reactjs/react-redux.
// This is how you get props from the Rails view into the redux store.
// This code here binds your smart component to the redux store.
const HelloWorldApp = (props, railsContext) => {
const HelloWorldApp = (props, _railsContext) => {
const store = createStore(props);
const reactComponent = (
<Provider store={store}>
Expand Down

0 comments on commit 8397068

Please sign in to comment.