Fix widget and front component queries hitting wrong GraphQL endpoint (#17889)

This commit is contained in:
nitin
2026-02-12 17:08:06 +05:30
committed by GitHub
parent eb52976e91
commit c48ccbca99
4 changed files with 1 additions and 14 deletions
@@ -1,5 +1,6 @@
import { REST_API_BASE_URL } from '@/apollo/constant/rest-api-base-url';
import { getTokenPair } from '@/apollo/utils/getTokenPair';
import { useFrontComponentExecutionContext } from '@/front-components/hooks/useFrontComponentExecutionContext';
import { useSnackBar } from '@/ui/feedback/snack-bar-manager/hooks/useSnackBar';
import { useTheme } from '@emotion/react';
import { t } from '@lingui/core/macro';
@@ -7,8 +8,6 @@ import { useState } from 'react';
import { FrontComponentRenderer as SharedFrontComponentRenderer } from 'twenty-sdk/front-component';
import { isDefined } from 'twenty-shared/utils';
import { useFrontComponentExecutionContext } from '@/front-components/hooks/useFrontComponentExecutionContext';
type FrontComponentRendererProps = {
frontComponentId: string;
};