"use client"; import { useRLNImplementation, RLNImplementationType } from '../contexts/RLNImplementationContext'; export function RLNImplementationToggle() { const { implementation, setImplementation } = useRLNImplementation(); const handleToggle = (newImplementation: RLNImplementationType) => { setImplementation(newImplementation); }; return (
RLN Implementation:
{implementation === 'standard' ? ( Using full RLN implementation ) : ( Using lightweight RLN implementation )}
); }