Skip to content

Commit 0d45fc4

Browse files
refactor: rename some of the ranges tooltip
rename "Show publication string" to "Display publication string" rename "Show ranges" to "Display table"
1 parent fdbf3f2 commit 0d45fc4

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/component/panels/RangesPanel/RangesHeader.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -314,14 +314,14 @@ function RangesHeader(props: RangesHeaderProps) {
314314
{
315315
disabled: !hasRanges,
316316
icon: <FaCopy />,
317-
tooltip: `${booleanToString(!showPublicationString)} publication string`,
317+
tooltip: `${booleanToString(!showPublicationString, { trueLabel: 'Display' })} publication string`,
318318
onClick: handleShowPublicationString,
319319
active: showPublicationString,
320320
},
321321
{
322322
disabled: !hasRanges,
323323
icon: <SvgNmrPeaksTopLabels />,
324-
tooltip: `${booleanToString(!showRanges)} ranges`,
324+
tooltip: `${booleanToString(!showRanges, { trueLabel: 'Display' })} table`,
325325
onClick: handleShowRanges,
326326
active: showRanges,
327327
},

0 commit comments

Comments
 (0)