19 lines
406 B
TypeScript
19 lines
406 B
TypeScript
"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>
|
|
);
|
|
}
|