diff --git a/src/Pages/AdminScreen/index.js b/src/Pages/AdminScreen/index.js deleted file mode 100644 index c9dd097..0000000 --- a/src/Pages/AdminScreen/index.js +++ /dev/null @@ -1,44 +0,0 @@ -import React from "react"; -import { logout } from "../../Auth/Auth"; -import MainButton from "../../Components/MainButton"; -import { history } from "../../history"; - -const AdminScreen = () => { - function handleClickCheckout() { - logout(); - history.push("/login"); - window.location.reload(); - } - - function handleProcess() { - history.push("/criar-processo"); - window.location.reload(); - } - - function handleViewProfile() { - history.push("/user"); - window.location.reload(); - } - - function handleViewCreateProfile() { - history.push("/criar-usuario"); - window.location.reload(); - } - - function handleChangePassword() { - history.push("/change-password"); - window.location.reload(); - } - - return ( - <> -