Revise the comment to enhance clarity and precision
This commit is contained in:
@@ -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,
|
||||||
|
Reference in New Issue
Block a user