fix typescript issues

Signed-off-by: Ben Vu <benv@spotify.com>
This commit is contained in:
Ben Vu
2025-04-24 15:43:25 -04:00
parent 5cf89b373d
commit b7918eca29
2 changed files with 3 additions and 4 deletions
@@ -193,7 +193,7 @@ export function LogLine({
(highlight === highlightResultIndex
? classes.textSelectedHighlight
: classes.textHighlight),
!!setRowHeight && classes.modifierTextWrap,
{ [classes.textWrap]: !!setRowHeight },
)}
>
<Linkify options={{ render: renderLink }}>{text}</Linkify>
@@ -50,8 +50,7 @@ export type LogViewerClassKey =
| 'modifierBackgroundMagenta'
| 'modifierBackgroundCyan'
| 'modifierBackgroundWhite'
| 'modifierBackgroundGrey'
| 'modifierTextWrap';
| 'modifierBackgroundGrey';
export const useStyles = makeStyles(
theme => ({
@@ -168,7 +167,7 @@ export const useStyles = makeStyles(
modifierBackgroundGrey: {
background: colors.grey[500],
},
modifierTextWrap: {
textWrap: {
whiteSpace: 'pre-wrap',
wordBreak: 'break-all',
},