Ensure unique ids for tooltips (#13079)

GitOrigin-RevId: 9b6e5c60dade356549bb1b3fd9c6254ab00ace56
This commit is contained in:
Alf Eaton 2023-05-16 13:16:28 +01:00 committed by Copybot
parent 60370d5227
commit fefc8384fb
3 changed files with 3 additions and 3 deletions

View file

@ -23,7 +23,7 @@ function DetachCompileButton() {
return (
<div className="detach-compile-button-container">
<Tooltip
id="logs-toggle"
id="detach-compile"
description={tooltipElement}
tooltipProps={{ className: 'keyboard-tooltip' }}
overlayProps={{ delayShow: 500 }}

View file

@ -56,7 +56,7 @@ function PdfCompileButton() {
button={{
tooltip: {
description: tooltipElement,
id: 'logs-toggle',
id: 'compile',
tooltipProps: { className: 'keyboard-tooltip' },
overlayProps: { delayShow: 500 },
},

View file

@ -22,7 +22,7 @@ function PdfHybridDownloadButton() {
return (
<Tooltip
id="logs-toggle"
id="download-pdf"
description={description}
overlayProps={{ placement: 'bottom' }}
>