fix: initialized flags on event-types page (#13469)
* fix: initialized flags on event-types page * changes * chore: removed `managed-event-types` flag as no longer needed * revert: `20230404202721_add_feature_flag_managed_event_types` migration
This commit is contained in:
1 parent
0421dd401a
commit
a45d77de51
6 files changed
+31
-9
No files matched your search
@@ -2,7 +2,7 @@ import type { AppFlags } from "@calcom/features/flags/config";
|
||||
import { trpc } from "@calcom/trpc/react";
|
||||
|
||||
const initialData: Partial<AppFlags> = process.env.NEXT_PUBLIC_IS_E2E
|
||||
? { "managed-event-types": true, organizations: true, teams: true }
|
||||
? { organizations: true, teams: true }
|
||||
: {};
|
||||
export function useFlags(): Partial<AppFlags> {
|
||||
const query = trpc.viewer.features.map.useQuery(undefined, {
|
||||
|
||||
Reference in new issue
Block a user