Files
lidify/frontend/components/player/PlayerModeWrapper.tsx
2025-12-25 18:58:06 -06:00

12 lines
342 B
TypeScript

"use client";
import { ReactNode } from "react";
import { usePlayerMode } from "@/hooks/usePlayerMode";
export function PlayerModeWrapper({ children }: { children: ReactNode }) {
// This component exists solely to call the usePlayerMode hook
// which must be in a client component
usePlayerMode();
return <>{children}</>;
}