diff --git a/frontend/src/layout/navigation-3000/components/Breadcrumbs.tsx b/frontend/src/layout/navigation-3000/components/Breadcrumbs.tsx index b818d42923c95..344d36f55f47c 100644 --- a/frontend/src/layout/navigation-3000/components/Breadcrumbs.tsx +++ b/frontend/src/layout/navigation-3000/components/Breadcrumbs.tsx @@ -124,7 +124,7 @@ interface HereProps { function Here({ breadcrumb }: HereProps): JSX.Element { return (

- {breadcrumb.name || } + {breadcrumb.name || }

) } diff --git a/frontend/src/lib/components/ActivityLog/ActivityLog.tsx b/frontend/src/lib/components/ActivityLog/ActivityLog.tsx index 9cd152bc34778..17c8c06a1ed40 100644 --- a/frontend/src/lib/components/ActivityLog/ActivityLog.tsx +++ b/frontend/src/lib/components/ActivityLog/ActivityLog.tsx @@ -39,7 +39,7 @@ const SkeletonLog = (): JSX.Element => {
- +
diff --git a/frontend/src/lib/components/CommandBar/SearchResult.tsx b/frontend/src/lib/components/CommandBar/SearchResult.tsx index 4d86c69704cfd..d8af7227aaae6 100644 --- a/frontend/src/lib/components/CommandBar/SearchResult.tsx +++ b/frontend/src/lib/components/CommandBar/SearchResult.tsx @@ -76,9 +76,9 @@ const SearchResult = ({ result, resultIndex, focused, keyboardFocused }: SearchR export const SearchResultSkeleton = (): JSX.Element => (
- - - + + +
) diff --git a/frontend/src/lib/components/Subscriptions/views/EditSubscription.tsx b/frontend/src/lib/components/Subscriptions/views/EditSubscription.tsx index 1926ad2b7fb12..66f19b0bc54cb 100644 --- a/frontend/src/lib/components/Subscriptions/views/EditSubscription.tsx +++ b/frontend/src/lib/components/Subscriptions/views/EditSubscription.tsx @@ -119,11 +119,11 @@ export function EditSubscription({ {!subscription ? ( subscriptionLoading ? (
- + - + - +
) : ( diff --git a/frontend/src/lib/components/Subscriptions/views/ManageSubscriptions.tsx b/frontend/src/lib/components/Subscriptions/views/ManageSubscriptions.tsx index 6707c6a097c55..50c782fc12682 100644 --- a/frontend/src/lib/components/Subscriptions/views/ManageSubscriptions.tsx +++ b/frontend/src/lib/components/Subscriptions/views/ManageSubscriptions.tsx @@ -88,7 +88,7 @@ export function ManageSubscriptions({ {subscriptionsLoading && !subscriptions.length ? (
- +
) : subscriptions.length ? ( diff --git a/frontend/src/lib/lemon-ui/LemonSkeleton/LemonSkeleton.tsx b/frontend/src/lib/lemon-ui/LemonSkeleton/LemonSkeleton.tsx index 2cac518029426..6524b6d573e7b 100644 --- a/frontend/src/lib/lemon-ui/LemonSkeleton/LemonSkeleton.tsx +++ b/frontend/src/lib/lemon-ui/LemonSkeleton/LemonSkeleton.tsx @@ -5,29 +5,15 @@ import './LemonSkeleton.scss' export interface LemonSkeletonProps { className?: string - /** Height of the skeleton bar */ - height?: number /** Repeat this component this many of times */ repeat?: number /** Used in combination with repeat to progressively fade out the repeated skeletons */ fade?: boolean active?: boolean } -export function LemonSkeleton({ - className, - repeat, - height = 4, - active = true, - fade = false, -}: LemonSkeletonProps): JSX.Element { +export function LemonSkeleton({ className, repeat, active = true, fade = false }: LemonSkeletonProps): JSX.Element { const content = ( -
+
{/* The span is for accessibility, but also because @storybook/test-runner smoke tests require content */} Loading…
diff --git a/frontend/src/scenes/apps/ErrorDetailsModal.tsx b/frontend/src/scenes/apps/ErrorDetailsModal.tsx index f5cafdedde71d..926177cd552fb 100644 --- a/frontend/src/scenes/apps/ErrorDetailsModal.tsx +++ b/frontend/src/scenes/apps/ErrorDetailsModal.tsx @@ -26,7 +26,7 @@ export function ErrorDetailsModal(): JSX.Element { footer={
{errorDetailsLoading ? ( - + ) : ( <> diff --git a/frontend/src/scenes/apps/MetricsTab.tsx b/frontend/src/scenes/apps/MetricsTab.tsx index 89aed5b90fa45..b5761df9d9815 100644 --- a/frontend/src/scenes/apps/MetricsTab.tsx +++ b/frontend/src/scenes/apps/MetricsTab.tsx @@ -78,7 +78,7 @@ export function MetricsOverview({ exportFailureReason, }: MetricsOverviewProps): JSX.Element { if (metricsLoading) { - return + return } return ( diff --git a/frontend/src/scenes/batch_exports/BatchExportScene.tsx b/frontend/src/scenes/batch_exports/BatchExportScene.tsx index 148297c77d355..f8f1b778ee6bf 100644 --- a/frontend/src/scenes/batch_exports/BatchExportScene.tsx +++ b/frontend/src/scenes/batch_exports/BatchExportScene.tsx @@ -518,7 +518,7 @@ export function BatchExportScene(): JSX.Element {
) : ( - + )}
diff --git a/frontend/src/scenes/experiments/Experiment.tsx b/frontend/src/scenes/experiments/Experiment.tsx index fdc5fe554faee..381aa91a8e51d 100644 --- a/frontend/src/scenes/experiments/Experiment.tsx +++ b/frontend/src/scenes/experiments/Experiment.tsx @@ -855,10 +855,10 @@ export function ResultsTag(): JSX.Element { export function LoadingState(): JSX.Element { return (
- + - +
) } diff --git a/frontend/src/scenes/ingestion/panels/BillingPanel.tsx b/frontend/src/scenes/ingestion/panels/BillingPanel.tsx index f52269890ece0..b42fef3eb9de0 100644 --- a/frontend/src/scenes/ingestion/panels/BillingPanel.tsx +++ b/frontend/src/scenes/ingestion/panels/BillingPanel.tsx @@ -19,8 +19,8 @@ export function BillingPanel(): JSX.Element {
- - + +
diff --git a/frontend/src/scenes/insights/InsightSkeleton.tsx b/frontend/src/scenes/insights/InsightSkeleton.tsx index c376a20158586..1ee2f8c53ff97 100644 --- a/frontend/src/scenes/insights/InsightSkeleton.tsx +++ b/frontend/src/scenes/insights/InsightSkeleton.tsx @@ -4,8 +4,8 @@ export function InsightSkeleton(): JSX.Element { return ( <>
- - + +
diff --git a/frontend/src/scenes/notebooks/Nodes/NotebookNodePerson.tsx b/frontend/src/scenes/notebooks/Nodes/NotebookNodePerson.tsx index d54a338c14b5d..fa6c83a5c868b 100644 --- a/frontend/src/scenes/notebooks/Nodes/NotebookNodePerson.tsx +++ b/frontend/src/scenes/notebooks/Nodes/NotebookNodePerson.tsx @@ -92,7 +92,7 @@ const Component = ({ attributes }: NotebookNodeProps + )}
) diff --git a/frontend/src/scenes/project-homepage/ProjectHomepage.tsx b/frontend/src/scenes/project-homepage/ProjectHomepage.tsx index c8fea74e75c9c..80cc8e5b02b9f 100644 --- a/frontend/src/scenes/project-homepage/ProjectHomepage.tsx +++ b/frontend/src/scenes/project-homepage/ProjectHomepage.tsx @@ -83,7 +83,7 @@ export function ProjectHomepage(): JSX.Element { <>
- {!dashboard && } + {!dashboard && } {dashboard?.name && ( <> diff --git a/frontend/src/scenes/session-recordings/player/PlayerMeta.tsx b/frontend/src/scenes/session-recordings/player/PlayerMeta.tsx index 1baf6cfc23832..08d675cb62db1 100644 --- a/frontend/src/scenes/session-recordings/player/PlayerMeta.tsx +++ b/frontend/src/scenes/session-recordings/player/PlayerMeta.tsx @@ -99,7 +99,7 @@ export function PlayerMeta(): JSX.Element { const whitelabel = getCurrentExporterData()?.whitelabel ?? false const resolutionView = sessionPlayerMetaDataLoading ? ( - + ) : resolution ? (
{!sessionPerson || !startTime ? ( - + ) : (
@@ -186,7 +186,7 @@ export function PlayerMeta(): JSX.Element {
{sessionPlayerMetaDataLoading ? ( - + ) : sessionProperties ? ( {sessionPlayerMetaDataLoading ? ( - + ) : ( <> ) : playlistsLoading ? ( - + ) : (
No playlists found
)} diff --git a/frontend/src/scenes/session-recordings/playlist/SessionRecordingPreview.tsx b/frontend/src/scenes/session-recordings/playlist/SessionRecordingPreview.tsx index 41b2eb89817f2..d3acb8f7aa308 100644 --- a/frontend/src/scenes/session-recordings/playlist/SessionRecordingPreview.tsx +++ b/frontend/src/scenes/session-recordings/playlist/SessionRecordingPreview.tsx @@ -110,7 +110,7 @@ function ActivityIndicators({ ) }) ) : ( - + )}
) @@ -236,8 +236,8 @@ export function SessionRecordingPreview({ export function SessionRecordingPreviewSkeleton(): JSX.Element { return (
- - + +
) } diff --git a/frontend/src/scenes/session-recordings/playlist/SessionRecordingsPlaylistScene.tsx b/frontend/src/scenes/session-recordings/playlist/SessionRecordingsPlaylistScene.tsx index 447fe87662123..61f917d98ddb0 100644 --- a/frontend/src/scenes/session-recordings/playlist/SessionRecordingsPlaylistScene.tsx +++ b/frontend/src/scenes/session-recordings/playlist/SessionRecordingsPlaylistScene.tsx @@ -35,8 +35,8 @@ export function SessionRecordingsPlaylistScene(): JSX.Element { return (
- - + +
diff --git a/frontend/src/scenes/settings/project/PersonDisplayNameProperties.tsx b/frontend/src/scenes/settings/project/PersonDisplayNameProperties.tsx index df85da1d32db3..db44c40c6a962 100644 --- a/frontend/src/scenes/settings/project/PersonDisplayNameProperties.tsx +++ b/frontend/src/scenes/settings/project/PersonDisplayNameProperties.tsx @@ -17,7 +17,7 @@ export function PersonDisplayNameProperties(): JSX.Element { ) if (!currentTeam) { - return + return } return ( diff --git a/frontend/src/scenes/settings/project/ProjectSettings.tsx b/frontend/src/scenes/settings/project/ProjectSettings.tsx index ac6d40c2849a5..3d935f09e3e56 100644 --- a/frontend/src/scenes/settings/project/ProjectSettings.tsx +++ b/frontend/src/scenes/settings/project/ProjectSettings.tsx @@ -58,7 +58,7 @@ export function WebSnippet(): JSX.Element {

{currentTeamLoading && !currentTeam ? (
- +
) : ( diff --git a/frontend/src/scenes/settings/project/TimezoneConfig.tsx b/frontend/src/scenes/settings/project/TimezoneConfig.tsx index 09d7c8a70c026..719b9a94e921c 100644 --- a/frontend/src/scenes/settings/project/TimezoneConfig.tsx +++ b/frontend/src/scenes/settings/project/TimezoneConfig.tsx @@ -17,7 +17,7 @@ export function TimezoneConfig(): JSX.Element { const { updateCurrentTeam } = useActions(teamLogic) if (!preflight?.available_timezones || !currentTeam) { - return + return } const options = Object.entries(preflight.available_timezones).map(([tz, offset]) => ({ key: tz,