Files
cstb-next/src/app/layout.tsx

20 lines
423 B
TypeScript
Raw Normal View History

"use client"
import { steamStore } from "@/store/steam"
import { useEffect } from "react"
2024-11-11 10:04:00 +08:00
import "./globals.css"
import Providers from "./providers"
import { init } from "@/store"
export default function RootLayout({ children }: { children: React.ReactNode }) {
useEffect(() => {
void init()
})
2024-09-20 23:15:42 +08:00
return (
<html lang="en">
2025-03-14 19:25:11 +08:00
<body>
<Providers>{children}</Providers>
</body>
2024-09-20 23:15:42 +08:00
</html>
)
}