"use client";

import type { ReactNode } from "react";

import { PrivateZoomProvider } from "@/stores/private-zoom";

export interface PrivateZoomRouteProviderProps {
  children: ReactNode;
  characterId: string;
}

export function PrivateZoomRouteProvider({
  children,
  characterId,
}: PrivateZoomRouteProviderProps) {
  return (
    <PrivateZoomProvider key={characterId} characterId={characterId}>
      {children}
    </PrivateZoomProvider>
  );
}
