rlcube / src /app /providers.tsx
imwithye's picture
add controls
6bb08c4
raw
history blame
343 Bytes
'use client';
import { HeroUIProvider } from '@heroui/react';
import { ControlProvider } from '@/contexts/control-context';
export const Providers = ({ children }: { children: React.ReactNode }) => {
return (
<HeroUIProvider className="h-full w-full">
<ControlProvider>{children}</ControlProvider>
</HeroUIProvider>
);
};