Skip to content

Commit

Permalink
Change file names
Browse files Browse the repository at this point in the history
  • Loading branch information
avvazana committed Nov 16, 2018
1 parent fb28ee5 commit 239f181
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@ import { connect } from 'react-redux';
import React from 'react';
import { Link } from 'react-router-dom';
import { logout } from '../../actions/session_actions';
import Browse from './browse'
import MainContent from './main_content'

const mapDispatchToProps = dispatch => {
return {
logout: () => dispatch(logout())
};
};

export default connect(null, mapDispatchToProps)(Browse);
export default connect(null, mapDispatchToProps)(MainContent);
9 changes: 0 additions & 9 deletions frontend/components/main/main_container.jsx

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from 'react';

class Browse extends React.Component {
class MainContent extends React.Component {

render() {
return (
Expand All @@ -13,4 +13,4 @@ class Browse extends React.Component {
}
}

export default Browse;
export default MainContent;
2 changes: 1 addition & 1 deletion frontend/components/splash/splash.jsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from 'react';
import { Link } from 'react-router-dom';
import Browse from '../browse/browse';
import BrowseContainer from '../main/main_content';
import { withRouter, Route, Redirect } from 'react-router-dom';


Expand Down

0 comments on commit 239f181

Please sign in to comment.