mirror of
https://github.com/logto-io/logto.git
synced 2025-02-24 22:05:56 -05:00
chore: fix type import lint error
This commit is contained in:
parent
9b97775fc0
commit
9271f4e3dc
5 changed files with 12 additions and 8 deletions
|
@ -1,11 +1,12 @@
|
|||
import { ConnectorResponse, ConnectorType, SignUpIdentifier } from '@logto/schemas';
|
||||
import type { ConnectorResponse } from '@logto/schemas';
|
||||
import { ConnectorType, SignUpIdentifier } from '@logto/schemas';
|
||||
import { useMemo } from 'react';
|
||||
import { useTranslation } from 'react-i18next';
|
||||
import { snakeCase } from 'snake-case';
|
||||
import useSWR from 'swr';
|
||||
|
||||
import Alert from '@/components/Alert';
|
||||
import { RequestError } from '@/hooks/use-api';
|
||||
import type { RequestError } from '@/hooks/use-api';
|
||||
|
||||
type Props = {
|
||||
signUpIdentifier: SignUpIdentifier;
|
||||
|
|
|
@ -8,7 +8,7 @@ import Checkbox from '@/components/Checkbox';
|
|||
import FormField from '@/components/FormField';
|
||||
import Select from '@/components/Select';
|
||||
|
||||
import { SignInExperienceForm } from '../../types';
|
||||
import type { SignInExperienceForm } from '../../types';
|
||||
import ConnectorSetupWarning from './ConnectorSetupWarning';
|
||||
import * as styles from './index.module.scss';
|
||||
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
import { builtInLanguages } from '@logto/phrases-ui';
|
||||
import { Branding, BrandingStyle, LanguageInfo, TermsOfUse } from '@logto/schemas';
|
||||
import type { Branding, LanguageInfo, TermsOfUse } from '@logto/schemas';
|
||||
import { BrandingStyle } from '@logto/schemas';
|
||||
|
||||
import RequestError from '@/errors/RequestError';
|
||||
import { findAllCustomLanguageTags } from '@/queries/custom-phrase';
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
import { ConnectorType, SignIn, SignInIdentifier, SignUp, SignUpIdentifier } from '@logto/schemas';
|
||||
import type { SignIn, SignUp } from '@logto/schemas';
|
||||
import { ConnectorType, SignInIdentifier, SignUpIdentifier } from '@logto/schemas';
|
||||
|
||||
import { LogtoConnector } from '@/connectors/types';
|
||||
import type { LogtoConnector } from '@/connectors/types';
|
||||
import RequestError from '@/errors/RequestError';
|
||||
import assertThat from '@/utils/assert-that';
|
||||
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
import { ConnectorType, SignUp, SignUpIdentifier } from '@logto/schemas';
|
||||
import type { SignUp } from '@logto/schemas';
|
||||
import { ConnectorType, SignUpIdentifier } from '@logto/schemas';
|
||||
|
||||
import { LogtoConnector } from '@/connectors/types';
|
||||
import type { LogtoConnector } from '@/connectors/types';
|
||||
import RequestError from '@/errors/RequestError';
|
||||
import assertThat from '@/utils/assert-that';
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue