fix open table

This commit is contained in:
2025-11-06 17:59:40 +07:00
parent 1b748285c9
commit 04ca091f49
3 changed files with 4 additions and 159 deletions

View File

@@ -15,7 +15,7 @@ const FishingToolsTable: React.FC = () => {
// Reset animated height khi dữ liệu thay đổi
useEffect(() => {
setContentHeight(0); // Reset để tính lại chiều cao
// setContentHeight(0); // Reset để tính lại chiều cao
setCollapsed(true); // Reset về trạng thái gập lại
}, [data]);