From 80968f5b1bfccf0893b9657122d6098084b8277b Mon Sep 17 00:00:00 2001 From: Mike Heneghan Date: Wed, 20 Dec 2023 17:37:53 +0000 Subject: [PATCH] chore: fix wrong case on type definition and lint - This should have been `flagSet` so corrected now whilst editing this file --- .../src/pages/FlowEditor/lib/analyticsProvider.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/editor.planx.uk/src/pages/FlowEditor/lib/analyticsProvider.tsx b/editor.planx.uk/src/pages/FlowEditor/lib/analyticsProvider.tsx index b436554782..a24255dfe8 100644 --- a/editor.planx.uk/src/pages/FlowEditor/lib/analyticsProvider.tsx +++ b/editor.planx.uk/src/pages/FlowEditor/lib/analyticsProvider.tsx @@ -25,7 +25,7 @@ export type SelectedUrlsMetadata = Record<"selectedUrls", string[]>; export type BackwardsNavigationInitiatorType = "change" | "back"; type NodeMetadata = { - flagset?: FlagSet; + flagSet?: FlagSet; displayText?: { heading?: string; description?: string; @@ -421,12 +421,12 @@ export const AnalyticsProvider: React.FC<{ children: React.ReactNode }> = ({ flagSet, displayText, flag, - isAutoAnswered + isAutoAnswered, }; default: return { - isAutoAnswered + isAutoAnswered, }; } }