Revise the comment to enhance clarity and precision
This commit is contained in:
parent
f4c6b00b4b
commit
1b8fd42a08
1 changed files with 1 additions and 1 deletions
|
|
@ -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,
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue