diff --git a/awx/ui_next/src/components/Workflow/WorkflowActionTooltipItem.jsx b/awx/ui_next/src/components/Workflow/WorkflowActionTooltipItem.jsx index a63cfb9b8b..c01192e2d7 100644 --- a/awx/ui_next/src/components/Workflow/WorkflowActionTooltipItem.jsx +++ b/awx/ui_next/src/components/Workflow/WorkflowActionTooltipItem.jsx @@ -1,6 +1,6 @@ import React from 'react'; import styled from 'styled-components'; -import { func } from 'prop-types'; +import { func, string } from 'prop-types'; const TooltipItem = styled.div` align-items: center; @@ -24,17 +24,17 @@ const TooltipItem = styled.div` function WorkflowActionTooltipItem({ children, + id, onClick, onMouseEnter, onMouseLeave, - ...rest }) { return ( {children} @@ -42,6 +42,7 @@ function WorkflowActionTooltipItem({ } WorkflowActionTooltipItem.propTypes = { + id: string.isRequired, onClick: func, onMouseEnter: func, onMouseLeave: func,