重构应用程序架构,添加 OpenIM SDK 初始化和引导逻辑

This commit is contained in:
2026-03-09 06:45:47 +07:00
parent 8963f777ee
commit bbb0f88259
5 changed files with 115 additions and 23 deletions

View File

@@ -0,0 +1,9 @@
import { PropsWithChildren } from "react";
import { useOpenIMBootstrap } from "@/features/im/hooks/use-openim-bootstrap";
export function AppBootstrapProvider({ children }: PropsWithChildren) {
useOpenIMBootstrap();
return children;
}