yangdx commited on
Commit
1d1b99c
·
1 Parent(s): 8a62e69

Revise the comment to enhance clarity and precision

Browse files
lightrag_webui/src/contexts/TabVisibilityProvider.tsx CHANGED
@@ -23,7 +23,7 @@ export const TabVisibilityProvider: React.FC<TabVisibilityProviderProps> = ({ ch
23
  'api': true
24
  }));
25
 
26
- // Keep all tabs visible when current tab changes
27
  useEffect(() => {
28
  setVisibleTabs((prev) => ({
29
  ...prev,
 
23
  'api': true
24
  }));
25
 
26
+ // Keep all tabs visible because we use CSS to control TAB visibility instead of React
27
  useEffect(() => {
28
  setVisibleTabs((prev) => ({
29
  ...prev,