buster/web/src/context/Chats/BusterChatProvider.tsx

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';