refactor: rewrite get execution using useExecution with RQ
This commit is contained in:
@@ -55,8 +55,11 @@ function ExecutionDate(props) {
|
||||
}
|
||||
|
||||
ExecutionDate.propTypes = {
|
||||
createdAt: PropTypes.oneOfType([PropTypes.string, PropTypes.instanceOf(Date)])
|
||||
.isRequired,
|
||||
createdAt: PropTypes.oneOfType([
|
||||
PropTypes.string,
|
||||
PropTypes.number,
|
||||
PropTypes.instanceOf(Date),
|
||||
]).isRequired,
|
||||
};
|
||||
|
||||
function ExecutionHeader(props) {
|
||||
|
Reference in New Issue
Block a user