mirror of
https://github.com/revoltchat/revite.git
synced 2024-11-13 18:59:22 -05:00
16 lines
354 B
TypeScript
16 lines
354 B
TypeScript
|
import State from "../redux/State";
|
||
|
import { Children } from "../types/Preact";
|
||
|
|
||
|
import Locale from "./Locale";
|
||
|
import Theme from "./Theme";
|
||
|
|
||
|
export default function Context({ children }: { children: Children }) {
|
||
|
return (
|
||
|
<State>
|
||
|
<Locale>
|
||
|
<Theme>{children}</Theme>
|
||
|
</Locale>
|
||
|
</State>
|
||
|
);
|
||
|
}
|