From 954e7759b2b4aee7303008ceb3bd982fae38c1c1 Mon Sep 17 00:00:00 2001 From: kyle-ssg Date: Wed, 20 Nov 2024 15:24:45 +0000 Subject: [PATCH] Rename diff segments to segment overrides --- frontend/web/components/diff/DiffFeature.tsx | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/frontend/web/components/diff/DiffFeature.tsx b/frontend/web/components/diff/DiffFeature.tsx index 128d4a0d0c5c..737db17acb11 100644 --- a/frontend/web/components/diff/DiffFeature.tsx +++ b/frontend/web/components/diff/DiffFeature.tsx @@ -45,7 +45,10 @@ const DiffFeature: FC = ({ projectId, tabTheme, }) => { - const {data:projectFlag} = useGetProjectFlagQuery({project:projectId, id: featureId}) + const { data: projectFlag } = useGetProjectFlagQuery({ + id: featureId, + project: projectId, + }) const oldEnv = oldState?.find((v) => !v.feature_segment) const newEnv = newState?.find((v) => !v.feature_segment) @@ -179,7 +182,10 @@ const DiffFeature: FC = ({ } > - + )} {!!segmentDiffs?.diffs.length && (