"use client";

import { ChakraProvider } from "@chakra-ui/react";
import theme from "./styles/theme";

import { WherebyProvider } from "@whereby.com/browser-sdk/react";

export function Providers({ children }: { children: React.ReactNode }) {
  return (
    <ChakraProvider theme={theme}>
      <WherebyProvider>{children}</WherebyProvider>
    </ChakraProvider>
  );
}
