From 85447ee425d2f668c649616f62d0ef1e309e002e Mon Sep 17 00:00:00 2001 From: H0llyW00dzZ Date: Mon, 13 Nov 2023 11:21:19 +0700 Subject: [PATCH] Fix UI / UX Page Bottom Path [Change Log] [Privacy] (#89) [+] fix(changelog.tsx): change goHome function to goChat function [+] fix(privacy.tsx): remove cancel button from privacy actions --- app/components/changelog.tsx | 6 +++--- app/components/privacy.tsx | 10 +--------- 2 files changed, 4 insertions(+), 12 deletions(-) diff --git a/app/components/changelog.tsx b/app/components/changelog.tsx index 0674fdbb2f4..7b58cdfc38a 100644 --- a/app/components/changelog.tsx +++ b/app/components/changelog.tsx @@ -69,8 +69,8 @@ export function ChangeLog() { fetchData(); }, []); - const goHome = () => { - navigate(Path.Home); + const goChat = () => { + navigate(Path.Chat); }; return ( @@ -88,7 +88,7 @@ export function ChangeLog() { } - onClick={goHome} + onClick={goChat} bordered /> diff --git a/app/components/privacy.tsx b/app/components/privacy.tsx index ec4d2e0eaea..dadd0d60dba 100644 --- a/app/components/privacy.tsx +++ b/app/components/privacy.tsx @@ -106,20 +106,12 @@ export function PrivacyPage() {
} onClick={goChat} bordered />
-
- } - bordered - onClick={() => navigate(-1)} - /> -
)}