diff --git a/apps/admin-x-settings/src/components/settings/membership/MembershipSettings.tsx b/apps/admin-x-settings/src/components/settings/membership/MembershipSettings.tsx
index 35f1f57a2b..2aa73aafdc 100644
--- a/apps/admin-x-settings/src/components/settings/membership/MembershipSettings.tsx
+++ b/apps/admin-x-settings/src/components/settings/membership/MembershipSettings.tsx
@@ -2,6 +2,7 @@ import Access from './Access';
import Analytics from './Analytics';
import Portal from './Portal';
import React from 'react';
+import Recommendations from '../site/Recommendations';
import SettingSection from '../../../admin-x-ds/settings/SettingSection';
import Tiers from './Tiers';
import TipsOrDonations from './TipsOrDonations';
@@ -12,11 +13,13 @@ const searchKeywords = {
access: ['default', 'access', 'subscription', 'post', 'membership'],
tiers: ['tiers', 'payment', 'paid'],
tips: ['tip', 'donation', 'one time', 'payment'],
- analytics: ['analytics', 'tracking', 'privacy', 'membership']
+ analytics: ['analytics', 'tracking', 'privacy', 'membership'],
+ recommendations: ['recommendation', 'recommend', 'blogroll']
};
const MembershipSettings: React.FC = () => {
const hasTipsAndDonations = useFeatureFlag('tipsAndDonations');
+ const hasRecommendations = useFeatureFlag('recommendations');
return (
@@ -25,6 +28,7 @@ const MembershipSettings: React.FC = () => {
{hasTipsAndDonations && }
+ {hasRecommendations && }
);
};
diff --git a/apps/admin-x-settings/src/components/settings/site/SiteSettings.tsx b/apps/admin-x-settings/src/components/settings/site/SiteSettings.tsx
index cf1972f885..9e26e437cc 100644
--- a/apps/admin-x-settings/src/components/settings/site/SiteSettings.tsx
+++ b/apps/admin-x-settings/src/components/settings/site/SiteSettings.tsx
@@ -1,27 +1,22 @@
import DesignSetting from './DesignSetting';
import Navigation from './Navigation';
import React from 'react';
-import Recommendations from './Recommendations';
import SettingSection from '../../../admin-x-ds/settings/SettingSection';
-import useFeatureFlag from '../../../hooks/useFeatureFlag';
// import Theme from './Theme';
const searchKeywords = {
theme: ['themes', 'design', 'appearance', 'style'],
design: ['design', 'branding', 'logo', 'cover', 'colors', 'fonts', 'background'],
- navigation: ['navigation', 'menus', 'primary', 'secondary', 'links'],
- recommendations: ['recommendation', 'recommend', 'blog roll', 'recommending']
+ navigation: ['navigation', 'menus', 'primary', 'secondary', 'links']
};
const SiteSettings: React.FC = () => {
- const hasRecommendations = useFeatureFlag('recommendations');
return (
<>
{/* */}
- {hasRecommendations && }
>
);