mirror of
http://112.124.100.131/huang.ze/ebiz-dify-ai.git
synced 2025-12-09 19:06:51 +08:00
debug/chat: increase notify error duration to 3000 (#2778)
This commit is contained in:
@@ -130,7 +130,7 @@ const Debug: FC<IDebug> = ({
|
||||
|
||||
const { notify } = useContext(ToastContext)
|
||||
const logError = useCallback((message: string) => {
|
||||
notify({ type: 'error', message })
|
||||
notify({ type: 'error', message, duration: 3000 })
|
||||
}, [notify])
|
||||
const [completionFiles, setCompletionFiles] = useState<VisionFile[]>([])
|
||||
|
||||
|
||||
Reference in New Issue
Block a user