mirror of
https://github.com/diegosouzapw/OmniRoute.git
synced 2026-08-03 13:52:09 +03:00
This project is inspired by and originally forked from 9router by decolua (https://github.com/decolua/9router). Full rebrand: 9router → OmniRoute across all source code, configuration, Docker, documentation, and assets.
15 lines
272 B
JavaScript
15 lines
272 B
JavaScript
"use client";
|
|
|
|
import { useEffect } from "react";
|
|
import useThemeStore from "@/store/themeStore";
|
|
|
|
export function ThemeProvider({ children }) {
|
|
const { initTheme } = useThemeStore();
|
|
|
|
useEffect(() => {
|
|
initTheme();
|
|
}, [initTheme]);
|
|
|
|
return <>{children}</>;
|
|
}
|