Skip to content

Commit

Permalink
Remove unused action
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasgdev committed Jul 4, 2019
1 parent f159b46 commit 0a576db
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions web/src/components/pages/AllTournamentsPage.js
Expand Up @@ -11,8 +11,7 @@ import SiteWrapper from "../SiteWrapper";
import AllTournamentsList from "../tournament/AllTournamentsList";
import AllTeamTournamentsList from "../tournament/AllTeamTournamentsList";
import {
fetchAllTournaments as fetchAllTournamentsAction,
fetchTeamTournaments as fetchTeamTournamentsAction
fetchAllTournaments as fetchAllTournamentsAction
} from "../../actions/tournaments"

class AllTournamentsPage extends React.PureComponent {
Expand Down Expand Up @@ -58,8 +57,7 @@ const mapStateToProps = state => ({
});

const mapDispatchToProps = {
fetchAllTournamentsAction: () => fetchAllTournamentsAction(),
fetchTeamTournamentsAction: (teamID) => fetchTeamTournamentsAction(teamID)
fetchAllTournamentsAction: () => fetchAllTournamentsAction()
};

export default connect(
Expand Down

0 comments on commit 0a576db

Please sign in to comment.