Update Chat.tsx

This commit is contained in:
ItzCrazyKns
2025-10-19 22:47:45 +05:30
parent d9ebf611ff
commit 3d2d056f64

View File

@@ -16,7 +16,7 @@ const Chat = () => {
useEffect(() => {
const updateDividerWidth = () => {
if (dividerRef.current) {
setDividerWidth(dividerRef.current.scrollWidth);
setDividerWidth(dividerRef.current.offsetWidth);
}
};