mirror of
https://github.com/ItzCrazyKns/Perplexica.git
synced 2025-10-22 07:18:16 +00:00
Update Chat.tsx
This commit is contained in:
@@ -16,7 +16,7 @@ const Chat = () => {
|
|||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
const updateDividerWidth = () => {
|
const updateDividerWidth = () => {
|
||||||
if (dividerRef.current) {
|
if (dividerRef.current) {
|
||||||
setDividerWidth(dividerRef.current.scrollWidth);
|
setDividerWidth(dividerRef.current.offsetWidth);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user