"use client";

import { MessagingInboxProvider, type SdkConfig } from "@lynkd/messaging-inbox-sdk";
import { UiStateProvider } from "@/lib/ui-state";

export function Providers({
  config,
  children,
}: {
  config: SdkConfig;
  children: React.ReactNode;
}) {
  return (
    <MessagingInboxProvider config={config}>
      <UiStateProvider>{children}</UiStateProvider>
    </MessagingInboxProvider>
  );
}
