Revise the comment to enhance clarity and precision

This commit is contained in:
yangdx
2025-03-16 12:26:32 +08:00
parent f4c6b00b4b
commit 1b8fd42a08

View File

@@ -23,7 +23,7 @@ export const TabVisibilityProvider: React.FC<TabVisibilityProviderProps> = ({ ch
'api': true 'api': true
})); }));
// Keep all tabs visible when current tab changes // Keep all tabs visible because we use CSS to control TAB visibility instead of React
useEffect(() => { useEffect(() => {
setVisibleTabs((prev) => ({ setVisibleTabs((prev) => ({
...prev, ...prev,