Remove isServerlessFunctionSettingsEnabled feature flag (#9797)

Removes `isFunctionSettingsEnabled` feature flag
We consider this featureFlag as false for everyone. We decided to keep
the code in the code base for now
This commit is contained in:
martmull
2025-01-22 22:39:52 +01:00
committed by GitHub
parent e881616822
commit 3ab193f298
8 changed files with 14 additions and 23 deletions

View File

@ -11,9 +11,9 @@ export const AppRouter = () => {
const isFreeAccessEnabled = useIsFeatureEnabled(
FeatureFlagKey.IsFreeAccessEnabled,
);
const isServerlessFunctionSettingsEnabled = useIsFeatureEnabled(
FeatureFlagKey.IsFunctionSettingsEnabled,
);
// We want to disable serverless function settings but keep the code for now
const isFunctionSettingsEnabled = false;
const isBillingPageEnabled =
billing?.isBillingEnabled && !isFreeAccessEnabled;
@ -26,7 +26,7 @@ export const AppRouter = () => {
<RouterProvider
router={useCreateAppRouter(
isBillingPageEnabled,
isServerlessFunctionSettingsEnabled,
isFunctionSettingsEnabled,
isAdminPageEnabled,
)}
/>