echoes/frontend/hooks/stylesProvider.tsx
lsy a43a9bac36 后端:修复数据库异常连接导致后续无法正常重启;
前端:消息提示增加标题,添加Radix UI,重构HTTP错误处理逻辑。
2024-11-30 14:03:32 +08:00

11 lines
262 B
TypeScript

import { ReactNode } from "react";
import { MessageProvider, MessageContainer } from "hooks/message";
export const StyleProvider = ({ children }: { children: ReactNode }) => (
<MessageProvider>
<MessageContainer />
{children}
</MessageProvider>
);