Skip to content

armgit / dify

Public Imported from GitHub
0

Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.

feat(toast): add IToastProps type import to enhance type safety (#33096)

Coding On Stara5bcbaebb74e
diff --git a/web/app/components/base/toast/index.tsx b/web/app/components/base/toast/index.tsx
index f252ad9df00..c66be8da153 100644
--- a/web/app/components/base/toast/index.tsx
+++ b/web/app/components/base/toast/index.tsx
@@ -1,5 +1,6 @@
'use client'
import type { ReactNode } from 'react'
+import type { IToastProps } from './context'
import { noop } from 'es-toolkit/function'
import * as React from 'react'
import { useEffect, useState } from 'react'