diff --git a/apps/admin-x-settings/src/components/settings/site/theme/ThemeInstalledModal.tsx b/apps/admin-x-settings/src/components/settings/site/theme/ThemeInstalledModal.tsx index 1c3c4aa97a..53bad6185d 100644 --- a/apps/admin-x-settings/src/components/settings/site/theme/ThemeInstalledModal.tsx +++ b/apps/admin-x-settings/src/components/settings/site/theme/ThemeInstalledModal.tsx @@ -45,7 +45,7 @@ const ThemeInstalledModal: React.FC<{ const handleError = useHandleError(); let errorPrompt = null; - if (installedTheme.gscan_errors) { + if (installedTheme && installedTheme.gscan_errors) { errorPrompt =