mirror of https://github.com/BRAVO68WEB/irc.git
13 lines
343 B
JavaScript
13 lines
343 B
JavaScript
import React from 'react';
|
|
import { BrowserRouter, Route } from 'react-router-dom';
|
|
import Join from './components/Join';
|
|
import Chat from './components/Chat';
|
|
|
|
const App = () => (
|
|
<BrowserRouter>
|
|
<Route path="/" exact component={Join} />
|
|
<Route path="/chat" component={Chat} />
|
|
</BrowserRouter>
|
|
);
|
|
|
|
export default App; |