Skip to content

Commit

Permalink
generalise excluded graphql flags
Browse files Browse the repository at this point in the history
  • Loading branch information
eli-d committed Jun 6, 2024
1 parent 4534362 commit 58eedc8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/src/app/_layout/FeatureFlagConfig.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import { Flag, LoaderIcon } from "lucide-react";
import { FeatureFlags, useFeatureFlag } from "@/hooks/useFeatureFlag";
import { useQuery } from "@tanstack/react-query";

type FeatureFlagKey = Exclude<keyof FeatureFlags, 'graphql mock demo data'>
type FeatureFlagKey = Exclude<keyof FeatureFlags, `graphql${string}`>

const featureFlagsLabels: { [K in FeatureFlagKey]: string } = {
"ui show demo data": "UI Show Demo Data",
Expand Down

0 comments on commit 58eedc8

Please sign in to comment.