'use client';

import { EncryptIDProvider } from '@encryptid/sdk/ui/react';

export function AuthProvider({ children }: { children: React.ReactNode }) {
  const Provider = EncryptIDProvider as any;
  return (
    <Provider serverUrl={process.env.NEXT_PUBLIC_ENCRYPTID_SERVER_URL}>
      {children}
    </Provider>
  );
}
