mirror of
https://github.com/Xevion/smart-rgb.git
synced 2025-12-15 22:13:08 -06:00
Update source files
This commit is contained in:
11
frontend/pages/+Wrapper.tsx
Normal file
11
frontend/pages/+Wrapper.tsx
Normal file
@@ -0,0 +1,11 @@
|
||||
import { type ReactNode } from "react";
|
||||
// import { GameBridgeProvider } from "@/shared/api";
|
||||
|
||||
// Server-side wrapper provides stub implementations for SSG/pre-rendering
|
||||
// The real implementations are provided by +Wrapper.client.tsx on the client
|
||||
export default function Wrapper({ children }: { children: ReactNode }) {
|
||||
// During SSR/pre-rendering, provide null implementations
|
||||
// These will be replaced by real implementations when the client-side wrapper takes over
|
||||
// return <GameBridgeProvider bridge={null as any}>{children}</GameBridgeProvider>;
|
||||
return <>{children}</>;
|
||||
}
|
||||
Reference in New Issue
Block a user