mirror of https://github.com/buster-so/buster.git
14 lines
403 B
TypeScript
14 lines
403 B
TypeScript
import React from 'react';
|
|
import { ChatProvider } from './ChatProvider';
|
|
import { BusterNewChatProvider } from './NewChatProvider';
|
|
|
|
export const BusterChatProvider = React.memo(({ children }: { children: React.ReactNode }) => {
|
|
return (
|
|
<ChatProvider>
|
|
<BusterNewChatProvider>{children}</BusterNewChatProvider>
|
|
</ChatProvider>
|
|
);
|
|
});
|
|
|
|
BusterChatProvider.displayName = 'ChatProvider';
|