File tree Expand file tree Collapse file tree 1 file changed +16
-16
lines changed
Expand file tree Collapse file tree 1 file changed +16
-16
lines changed Original file line number Diff line number Diff line change @@ -61,29 +61,29 @@ export const NameCellComponent = ({
6161
6262 return (
6363 < div className = "flex left dc__gap-4 dc__visible-hover dc__visible-hover--parent" >
64- < Tooltip content = { name } >
6564 { /* eslint-disable-next-line jsx-a11y/control-has-associated-label */ }
6665 < button
6766 type = "button"
68- className = "dc__unset-button-styles dc__align-left dc__truncate "
67+ className = "dc__unset-button-styles dc__align-left"
6968 onClick = { onClick }
7069 ref = { nameButtonRef }
7170 >
72- < span
73- className = "dc__link cursor"
74- // eslint-disable-next-line react/no-danger
75- dangerouslySetInnerHTML = { {
76- __html : DOMPurify . sanitize (
77- highlightSearchText ( {
78- searchText,
79- text : String ( name ) ,
80- highlightClasses : 'p-0 fw-6 bcy-2' ,
81- } ) ,
82- ) ,
83- } }
84- />
71+ < Tooltip content = { name } >
72+ < span
73+ className = "dc__link cursor dc__truncate"
74+ // eslint-disable-next-line react/no-danger
75+ dangerouslySetInnerHTML = { {
76+ __html : DOMPurify . sanitize (
77+ highlightSearchText ( {
78+ searchText,
79+ text : String ( name ) ,
80+ highlightClasses : 'p-0 fw-6 bcy-2' ,
81+ } ) ,
82+ ) ,
83+ } }
84+ />
85+ </ Tooltip >
8586 </ button >
86- </ Tooltip >
8787 < ClipboardButton content = { String ( name ) } rootClassName = "p-2 dc__visible-hover--child" iconSize = { 16 } />
8888 </ div >
8989 )
You can’t perform that action at this time.
0 commit comments