fix (console): remove latency check after adding GDC source

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8006
GitOrigin-RevId: 46e37de155a80486868315fe197a3900ce85b761
This commit is contained in:
Vijay Prasanna 2023-02-16 19:19:01 +05:30 committed by hasura-bot
parent 374eb27902
commit b72173c8cb
3 changed files with 1 additions and 10 deletions

View File

@ -1,11 +1,6 @@
/* eslint-disable react/jsx-no-useless-fragment */
import React, { FormEvent } from 'react';
import { LabeledInput } from '@/components/Common/LabeledInput';
import { Connect, useAvailableDrivers } from '@/features/ConnectDB';
import {
availableFeatureFlagIds,
useIsFeatureFlagEnabled,
} from '@/features/FeatureFlags';
import { Analytics, REDACT_EVERYTHING } from '@/features/Analytics';
import { Button } from '@/new-components/Button';
import ConnectDatabaseForm, { ConnectDatabaseFormProps } from './ConnectDBForm';

View File

@ -15,10 +15,6 @@ import produce from 'immer';
import { ManageAgents } from '@/features/ManageAgents';
import { Button } from '@/new-components/Button';
import { useMetadataSource } from '@/features/MetadataAPI';
import {
availableFeatureFlagIds,
useIsFeatureFlagEnabled,
} from '@/features/FeatureFlags';
import { Analytics, REDACT_EVERYTHING } from '@/features/Analytics';
import { nativeDrivers } from '@/features/DataSource';
import { getProjectId } from '@/utils/cloudConsole';

View File

@ -50,7 +50,7 @@ export const getEditSourceQueryType = (
export const useSubmit = () => {
const drivers = useAvailableDrivers();
const { fireNotification } = useFireNotification();
const redirect = useRedirect({ redirectWithLatencyCheck: true });
const redirect = useRedirect({ redirectWithLatencyCheck: false });
const queryClient = useQueryClient();
const { mutate, ...rest } = useMetadataMigration({