aboutsummaryrefslogtreecommitdiffstats
path: root/apps/browser-extension/src/utils/providers.tsx
blob: 4ca170164959bf66eab17a6ad20fac2f80d0590e (plain) (blame)
1
2
3
4
5
6
7
8
9
import { TRPCProvider } from "@hoarder/shared-react/providers/trpc-provider";

import usePluginSettings from "./settings";

export function Providers({ children }: { children: React.ReactNode }) {
  const { settings } = usePluginSettings();

  return <TRPCProvider settings={settings}>{children}</TRPCProvider>;
}