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:
@ -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,
|
||||
)}
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user