Skip to content

Commit

Permalink
Fix DebugMenu proptypes
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremyckahn committed May 3, 2019
1 parent 5521f42 commit fa32b46
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions src/components/DebugMenu/DebugMenu.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from 'react';
import FarmhandContext from '../../Farmhand.context';
import { func, shape } from 'prop-types';
import { func } from 'prop-types';
import ExpansionPanel from '@material-ui/core/ExpansionPanel';
import ExpansionPanelSummary from '@material-ui/core/ExpansionPanelSummary';
import ExpansionPanelDetails from '@material-ui/core/ExpansionPanelDetails';
Expand Down Expand Up @@ -39,10 +39,8 @@ export const DebugMenu = ({
);

DebugMenu.propTypes = {
handlers: shape({
handleClearPersistedDataClick: func.isRequired,
handleWaterAllPlotsClick: func.isRequired,
}).isRequired,
handleClearPersistedDataClick: func.isRequired,
handleWaterAllPlotsClick: func.isRequired,
};

export default function Consumer() {
Expand Down

0 comments on commit fa32b46

Please sign in to comment.