diff --git a/packages/console/src/pages/SignInExperience/components/Preview.tsx b/packages/console/src/pages/SignInExperience/components/Preview.tsx index 9308d80ab..620c544c0 100644 --- a/packages/console/src/pages/SignInExperience/components/Preview.tsx +++ b/packages/console/src/pages/SignInExperience/components/Preview.tsx @@ -1,5 +1,6 @@ import { Language } from '@logto/phrases'; import { AppearanceMode, ConnectorDTO, ConnectorMetadata, SignInExperience } from '@logto/schemas'; +import { conditional } from '@silverhand/essentials'; import classNames from 'classnames'; import dayjs from 'dayjs'; import React, { useEffect, useMemo, useState, useRef, useCallback } from 'react'; @@ -176,6 +177,12 @@ const Preview = ({ signInExperience, className }: Props) => {