Skip to content

Commit

Permalink
don't render if container is empty
Browse files Browse the repository at this point in the history
  • Loading branch information
talentlessguy committed Oct 28, 2024
1 parent 8f78445 commit 018ffcf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/components/pages/migrate/MigrationNamesList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,8 @@ export const MigrationNamesList = <T extends NameListTab>({
}) => {
const { t } = useTranslation('migrate')

if (!tabs.length) return null

return (
<Container>
<TabsContainer>
Expand Down

0 comments on commit 018ffcf

Please sign in to comment.