Skip to content

Commit 199b167

Browse files
committed
fix cursor deprecated tooltip props comment
1 parent a079f9e commit 199b167

File tree

1 file changed

+12
-11
lines changed
  • static/app/views/discover/savedQuery

1 file changed

+12
-11
lines changed

static/app/views/discover/savedQuery/index.tsx

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -411,22 +411,23 @@ class SavedQueryButtonGroup extends PureComponent<Props, State> {
411411

412412
return (
413413
<Fragment>
414-
<Button
415-
onClick={this.handleUpdateQuery}
416-
data-test-id="discover2-savedquery-button-update"
417-
disabled={disabled || deprecatingTransactionsDataset}
418-
size="sm"
419-
tooltipProps={{
420-
isHoverable: true,
421-
}}
414+
<Tooltip
422415
title={
423416
deprecatingTransactionsDataset &&
424417
getTransactionDeprecationMessage(tracesUrl)
425418
}
419+
isHoverable
426420
>
427-
<IconUpdate />
428-
{t('Save Changes')}
429-
</Button>
421+
<Button
422+
onClick={this.handleUpdateQuery}
423+
data-test-id="discover2-savedquery-button-update"
424+
disabled={disabled || deprecatingTransactionsDataset}
425+
size="sm"
426+
>
427+
<IconUpdate />
428+
{t('Save Changes')}
429+
</Button>
430+
</Tooltip>
430431
{this.renderButtonSaveAs(disabled)}
431432
</Fragment>
432433
);

0 commit comments

Comments
 (0)