mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-14 17:02:49 +03:00
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:
parent
374eb27902
commit
b72173c8cb
@ -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';
|
||||
|
@ -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';
|
||||
|
@ -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({
|
||||
|
Loading…
Reference in New Issue
Block a user