Do not unmount tab content when switching tabs

This commit is contained in:
James Ketr 2025-04-26 10:01:34 -07:00
parent 957ef07467
commit 0173657477

View File

@ -61,7 +61,7 @@ function CustomTabPanel(props: TabPanelProps) {
aria-labelledby={`tab-${index}`}
{...other}
>
{tab === index && children}
{children}
</div>
);
}