Skip to content

Commit 1978ec1

Browse files
committed
use updated feature flag
1 parent 94930be commit 1978ec1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/frontend/src/pages/Flows/components/CreateFlowModal.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,8 @@ export default function CreateFlowModal(props: CreateFlowModalProps) {
132132

133133
// TODO (kevinkim-ogp): remove the flag value once GA
134134
const { getFlagValue } = useContext(LaunchDarklyContext)
135-
const canUseAiBuilder = getFlagValue('ai-builder', false)
135+
const aiBuilderType = getFlagValue('ai-builder-type', 'none')
136+
const canUseAiBuilder = aiBuilderType !== 'none'
136137

137138
const navigate = useNavigate()
138139
const [createFlow, { loading }] = useMutation(CREATE_FLOW)

0 commit comments

Comments
 (0)