diff --git a/web/app/components/base/toast/index.tsx b/web/app/components/base/toast/index.tsx index 725c7af8c2..40352f44c0 100644 --- a/web/app/components/base/toast/index.tsx +++ b/web/app/components/base/toast/index.tsx @@ -11,7 +11,7 @@ import { } from '@remixicon/react' import { createContext, useContext } from 'use-context-selector' import ActionButton from '@/app/components/base/action-button' -import classNames from '@/utils/classnames' +import cn from '@/utils/classnames' import { noop } from 'lodash-es' export type IToastProps = { @@ -44,29 +44,28 @@ const Toast = ({ if (typeof message !== 'string') return null - return
-
-
-
- {type === 'success' &&