Skip to content

Commit

Permalink
Force settings sections in snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
Twixes committed Mar 15, 2024
1 parent 711e061 commit f32ddc4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frontend/src/scenes/settings/Settings.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { useActions, useValues } from 'kea'
import { NotFound } from 'lib/components/NotFound'
import { useResizeBreakpoints } from 'lib/hooks/useResizeObserver'
import { IconChevronRight, IconLink } from 'lib/lemon-ui/icons'
import { capitalizeFirstLetter } from 'lib/utils'
import { capitalizeFirstLetter, inStorybookTestRunner } from 'lib/utils'
import { teamLogic } from 'scenes/teamLogic'

import { settingsLogic } from './settingsLogic'
Expand All @@ -32,7 +32,7 @@ export function Settings({
}
)

const isCompact = size === 'small'
const isCompact = !inStorybookTestRunner() && size === 'small'

const showSections = isCompact ? isCompactNavigationOpen : true

Expand Down

0 comments on commit f32ddc4

Please sign in to comment.