mirror of
https://github.com/langgenius/dify.git
synced 2026-04-05 11:39:19 +08:00
refactor: spilt context for better hmr (#33033)
This commit is contained in:
@@ -11,7 +11,7 @@ vi.mock('next/navigation', () => ({
|
||||
}))
|
||||
|
||||
// Exception: hook requires toast context that isn't available without a provider wrapper
|
||||
vi.mock('@/app/components/base/toast', () => ({
|
||||
vi.mock('@/app/components/base/toast/context', () => ({
|
||||
useToastContext: () => ({
|
||||
notify: mockNotify,
|
||||
}),
|
||||
|
||||
Reference in New Issue
Block a user