mirror of
https://github.com/cheveguerra/whaticket-community.git
synced 2026-04-19 12:19:16 +00:00
Finalized Chat migration to Material Ui
This commit is contained in:
@@ -2,9 +2,8 @@ import React from "react";
|
||||
import { BrowserRouter, Route, Switch } from "react-router-dom";
|
||||
import { toast, ToastContainer } from "react-toastify";
|
||||
|
||||
import Home from "./pages/Home/Home";
|
||||
import Dashboard from "./pages/Home/Dashboard";
|
||||
import Chat from "./pages/Chat/Chat";
|
||||
import Chat2 from "./pages/Chat-Material/Chat2";
|
||||
import Profile from "./pages/Profile/Profile";
|
||||
import Signup from "./pages/Signup/Signup";
|
||||
import Login from "./pages/Login/Login";
|
||||
@@ -32,7 +31,7 @@ const App = () => {
|
||||
position={toast.POSITION.TOP_CENTER}
|
||||
/>
|
||||
<Switch>
|
||||
<Route exact path="/" render={props => <Home />} />
|
||||
<Route exact path="/" render={props => <Dashboard />} />
|
||||
<Route
|
||||
exact
|
||||
path="/login"
|
||||
@@ -53,11 +52,6 @@ const App = () => {
|
||||
path="/chat"
|
||||
render={props => <Chat showToast={showToast} />}
|
||||
/>
|
||||
<Route
|
||||
exact
|
||||
path="/chat2"
|
||||
render={props => <Chat2 showToast={showToast} />}
|
||||
/>
|
||||
</Switch>
|
||||
</BrowserRouter>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user