From 294a1462194ba31091c72f93693f6a12d1ce9f04 Mon Sep 17 00:00:00 2001 From: Darcy Ye Date: Thu, 24 Aug 2023 13:57:00 +0800 Subject: [PATCH] chore(console): optimize onboarding process (#4389) --- .../pages/SignInExperience/index.tsx | 13 -------- .../SignInExperience/sie-config-templates.ts | 32 ++++++++----------- .../src/onboarding/pages/Welcome/index.tsx | 3 +- packages/console/src/onboarding/types.ts | 2 +- 4 files changed, 16 insertions(+), 34 deletions(-) diff --git a/packages/console/src/onboarding/pages/SignInExperience/index.tsx b/packages/console/src/onboarding/pages/SignInExperience/index.tsx index 2672170fb..f6a65c441 100644 --- a/packages/console/src/onboarding/pages/SignInExperience/index.tsx +++ b/packages/console/src/onboarding/pages/SignInExperience/index.tsx @@ -4,7 +4,6 @@ import { SignInIdentifier } from '@logto/schemas'; import type { SignInExperience as SignInExperienceType, ConnectorResponse } from '@logto/schemas'; import { useCallback, useEffect, useMemo, useContext } from 'react'; import { Controller, useForm } from 'react-hook-form'; -import { toast } from 'react-hot-toast'; import { useTranslation } from 'react-i18next'; import useSWR from 'swr'; @@ -241,18 +240,6 @@ function SignInExperience() {
-