diff --git a/ui/packages/catalog-ui-search/src/main/webapp/react-component/theme/theme.tsx b/ui/packages/catalog-ui-search/src/main/webapp/react-component/theme/theme.tsx index 6645f6d79797..2082537276ff 100644 --- a/ui/packages/catalog-ui-search/src/main/webapp/react-component/theme/theme.tsx +++ b/ui/packages/catalog-ui-search/src/main/webapp/react-component/theme/theme.tsx @@ -188,7 +188,7 @@ function updateTheme(userTheme: UserTheme) { } let sizingTheme = sizing[userTheme.spacingMode] return { - spacingMode: userTheme.spacingMode, + spacingMode: userTheme.spacingMode as 'comfortable' | 'cozy' | 'compact', ...relevantColorTheme, ...userTheme, ...sizingTheme,