mirror of https://github.com/msgbyte/tailchat
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
390 B
TypeScript
18 lines
390 B
TypeScript
import React from 'react';
|
|
import { MainContent } from './Content';
|
|
import { Navbar } from './Navbar';
|
|
import { MainProvider } from './Provider';
|
|
|
|
export const MainRoute: React.FC = React.memo(() => {
|
|
return (
|
|
<div className="flex h-full">
|
|
<MainProvider>
|
|
<Navbar />
|
|
|
|
<MainContent />
|
|
</MainProvider>
|
|
</div>
|
|
);
|
|
});
|
|
MainRoute.displayName = 'MainRoute';
|