Add delay to tooltips
[MAILPOET-4744]
This commit is contained in:
committed by
John Oleksowicz
parent
f41423e6a2
commit
c8cf00a151
@@ -48,6 +48,10 @@ function ActivateButton({ onClick, label }): JSX.Element {
|
|||||||
if (isDeactivating) {
|
if (isDeactivating) {
|
||||||
return (
|
return (
|
||||||
<Tooltip
|
<Tooltip
|
||||||
|
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
||||||
|
// @ts-ignore
|
||||||
|
// The following error seems to be a mismatch. It claims the 'delay' prop does not exist, but it does.
|
||||||
|
delay={0}
|
||||||
text={__(
|
text={__(
|
||||||
'Editing an active workflow is temporarily unavailable. We are working on introducing this functionality.',
|
'Editing an active workflow is temporarily unavailable. We are working on introducing this functionality.',
|
||||||
'mailpoet',
|
'mailpoet',
|
||||||
@@ -66,6 +70,10 @@ function UpdateButton(): JSX.Element {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<Tooltip
|
<Tooltip
|
||||||
|
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
||||||
|
// @ts-ignore
|
||||||
|
// The following error seems to be a mismatch. It claims the 'delay' prop does not exist, but it does.
|
||||||
|
delay={0}
|
||||||
text={__(
|
text={__(
|
||||||
'Editing an active workflow is temporarily unavailable. We are working on introducing this functionality.',
|
'Editing an active workflow is temporarily unavailable. We are working on introducing this functionality.',
|
||||||
'mailpoet',
|
'mailpoet',
|
||||||
|
Reference in New Issue
Block a user