Skip to content

Commit

Permalink
added proptypes
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex Medesan committed Dec 29, 2020
1 parent 90a3795 commit bc1a8cf
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/ProgressWorkflow.jsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import PropTypes from 'prop-types';
import React, { useEffect, useState } from 'react';
import { Portal } from 'react-portal';
import { useDispatch, useSelector } from 'react-redux';
Expand Down Expand Up @@ -143,4 +144,10 @@ const ProgressWorkflow = (props) => {
)
);
};

ProgressWorkflow.propTypes = {
pathname: PropTypes.string.isRequired,
content: PropTypes.object,
};

export default ProgressWorkflow;

0 comments on commit bc1a8cf

Please sign in to comment.