We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a0d4169 commit c4e7ce7Copy full SHA for c4e7ce7
packages/main/src/components/MessageItem/index.tsx
@@ -65,7 +65,6 @@ export interface MessageItemPropTypes extends Pick<ListItemCustomPropTypes, 'acc
65
const MessageItem = forwardRef<ListItemCustomDomRef, MessageItemPropTypes>((props, ref) => {
66
const { titleText, subtitleText, counter, type = ValueState.Negative, children, className, ...rest } = props;
67
const [isTitleTextOverflowing, setIsTitleTextIsOverflowing] = useState(false);
68
- const [titleTextStr, setTitleTextStr] = useState('');
69
const titleTextRef = useRef<HTMLSpanElement>(null);
70
const hasDetails = !!(children || isTitleTextOverflowing);
71
const i18nBundle = useI18nBundle('@ui5/webcomponents-react');
0 commit comments