bigbuffet-rw/app/soapbox/features/chats/index.tsx
marcin mikołajczak 81de0014d3 Change ESLint rules, lint
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-02-16 00:12:02 +01:00

19 lines
376 B
TypeScript

import React from 'react';
import { ChatProvider } from 'soapbox/contexts/chat-context';
import ChatPage from './components/chat-page/chat-page';
interface IChatIndex {
params?: {
chatId?: string
}
}
const ChatIndex: React.FC<IChatIndex> = ({ params }) => (
<ChatProvider>
<ChatPage chatId={params?.chatId} />
</ChatProvider>
);
export default ChatIndex;