diff --git a/src/Pages/PublicationPermissionsPage.js b/src/Pages/PublicationPermissionsPage.js
index 0c113cd2845698182acdc1ffde54c5bca393b889..d7dcb6ac34900cb4155629e3382997be37650f10 100644
--- a/src/Pages/PublicationPermissionsPage.js
+++ b/src/Pages/PublicationPermissionsPage.js
@@ -120,6 +120,9 @@ export default function PermissionsContainer(props) {
     props.history.push("/termos-publicar-recurso");
   };
 
+  const redirectToHome = () => {
+    props.history.push("/");
+  };
   return (
     <>
       {state.userAgreedToPublicationTerms ? (
@@ -180,7 +183,7 @@ export default function PermissionsContainer(props) {
                               backgroundColor: "#e9e9e9",
                             }}
                           >
-                            <Styledspan style={{ color: "rgb(102, 102, 102)" , fontWeight : "600 !important"}}>
+                            <Styledspan style={{ color: "rgb(102, 102, 102)" , fontWeight : "600 !important"}} onClick={() => {redirectToHome()}}>
                               Cancelar
                             </Styledspan>
                           </Button>
diff --git a/src/Pages/UserPage.js b/src/Pages/UserPage.js
index c61900957fc1c4cb1c88e5a31a7a6ac12852e053..139f63b60d93e7c147d53622ea4c50b5ac29ebd2 100644
--- a/src/Pages/UserPage.js
+++ b/src/Pages/UserPage.js
@@ -58,7 +58,7 @@ const GetHeaderConfig = () => {
 }
 
 export default function UserPage (props){
-    const {state, dispatch} = useContext(Store)
+    const {state} = useContext(Store)
     const id = state.currentUser.id
 
     const [tabValue, setTabValue] = useState(