File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -36,7 +36,6 @@ import '../../App.module.css';
3636import {
3737 ACTUAL_COST_BREAKDOWN ,
3838 BADGE_MANAGEMENT ,
39- BLUE_SQUARE_EMAIL_MANAGEMENT ,
4039 DASHBOARD ,
4140 JOB_ANALYTICS_REPORT ,
4241 LOGOUT ,
Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ import axios from 'axios';
55import moment from 'moment' ;
66import { Link } from 'react-router-dom' ;
77import { ENDPOINTS } from '~/utils/URL' ;
8+ import PropTypes from 'prop-types' ;
89
910const ResolvedTasks = props => {
1011 const [ tasks , setTasks ] = useState ( [ ] ) ;
@@ -114,4 +115,10 @@ const mapStateToProps = state => ({
114115 auth : state . auth ,
115116} ) ;
116117
118+ ResolvedTasks . propTypes = {
119+ auth : PropTypes . shape ( {
120+ darkMode : PropTypes . bool ,
121+ } ) ,
122+ } ;
123+
117124export default connect ( mapStateToProps ) ( ResolvedTasks ) ;
You can’t perform that action at this time.
0 commit comments