update pay function
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
|
||||
import React from 'react';
|
||||
import { ChakraProvider } from '@chakra-ui/react';
|
||||
import { HeroUIProvider } from '@heroui/react';
|
||||
import { Provider as ReduxProvider } from 'react-redux';
|
||||
|
||||
// Redux Store
|
||||
@@ -21,9 +22,10 @@ import { NotificationProvider } from '../contexts/NotificationContext';
|
||||
*
|
||||
* Provider 层级顺序 (从外到内):
|
||||
* 1. ReduxProvider - 状态管理层
|
||||
* 2. ChakraProvider - UI 框架层
|
||||
* 3. NotificationProvider - 通知系统
|
||||
* 4. AuthProvider - 认证系统
|
||||
* 2. ChakraProvider - UI 框架层(主要)
|
||||
* 3. HeroUIProvider - Hero UI 框架层(AgentChat 专用)
|
||||
* 4. NotificationProvider - 通知系统
|
||||
* 5. AuthProvider - 认证系统
|
||||
*
|
||||
* 注意:
|
||||
* - AuthModal 已迁移到 Redux (authModalSlice + useAuthModal Hook)
|
||||
@@ -47,11 +49,13 @@ export function AppProviders({ children }) {
|
||||
}
|
||||
}}
|
||||
>
|
||||
<NotificationProvider>
|
||||
<AuthProvider>
|
||||
{children}
|
||||
</AuthProvider>
|
||||
</NotificationProvider>
|
||||
<HeroUIProvider>
|
||||
<NotificationProvider>
|
||||
<AuthProvider>
|
||||
{children}
|
||||
</AuthProvider>
|
||||
</NotificationProvider>
|
||||
</HeroUIProvider>
|
||||
</ChakraProvider>
|
||||
</ReduxProvider>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user