text: import React, { Component } from "react";
  import { BrowserRouter, Switch, Route } from "react-router-dom";
  
  import Login from "./views/Login";
  import Timeline from "./views/Timeline";
  
  class App extends Component {
    render() {
      return (
        <BrowserRouter>
          <Switch>
            <Route path="/" exact component={Login} init />
            <Route path="/timeline" component={Timeline} />
          </Switch>
        </BrowserRouter>
      );
    }
  }
  
  export default App;
  