fix: chat error message
This commit is contained in:
@@ -32,7 +32,7 @@ const AutoTooltip: React.FC<AutoTooltipProps> = ({
|
||||
const { scrollWidth, clientWidth } = contentRef.current;
|
||||
setIsOverflowing(scrollWidth > clientWidth);
|
||||
}
|
||||
}, []);
|
||||
}, [contentRef.current]);
|
||||
|
||||
const debouncedCheckOverflow = useMemo(
|
||||
() => debounce(checkOverflow, 200),
|
||||
|
||||
Reference in New Issue
Block a user