mirror of
https://github.com/TheRealOwenRees/echecsfrance.git
synced 2026-07-23 12:36:57 +00:00
Use tRPC and react-hook-form
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
"use client";
|
||||
|
||||
import { Provider } from "jotai";
|
||||
|
||||
import { useDynamicViewportUnits } from "@/hooks/useDynamicViewportUnits";
|
||||
|
||||
import { TrpcProvider } from "./TrpcProvider";
|
||||
|
||||
export default function Providers({ children }: { children: React.ReactNode }) {
|
||||
useDynamicViewportUnits();
|
||||
return (
|
||||
<Provider>
|
||||
<TrpcProvider>{children}</TrpcProvider>
|
||||
</Provider>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user