From e0753ebfd1f72ba1b5c9f1ea49ad4c5c89a0a95a Mon Sep 17 00:00:00 2001 From: twwu Date: Wed, 16 Jul 2025 10:08:46 +0800 Subject: [PATCH] fix: update dataset conversion endpoint path for correct API integration --- web/app/components/base/toast/index.tsx | 39 ++++++++++++------------- web/service/use-pipeline.ts | 2 +- 2 files changed, 20 insertions(+), 21 deletions(-) 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' &&