From 0e38b64ef02f764b2f2831dd783dfc751aa93253 Mon Sep 17 00:00:00 2001 From: Zhang Ziqing Date: Mon, 31 Oct 2022 10:42:05 +0800 Subject: [PATCH] [offers][fix] fix toggle save --- .../src/components/offers/OffersNavigation.tsx | 2 +- .../offers/offersSubmission/OffersProfileSave.tsx | 6 +++--- .../src/components/offers/profile/ProfileHeader.tsx | 12 ++++++------ apps/portal/src/pages/offers/dashboard.tsx | 6 +++--- 4 files changed, 13 insertions(+), 13 deletions(-) diff --git a/apps/portal/src/components/offers/OffersNavigation.tsx b/apps/portal/src/components/offers/OffersNavigation.tsx index 26719933..315bac9f 100644 --- a/apps/portal/src/components/offers/OffersNavigation.tsx +++ b/apps/portal/src/components/offers/OffersNavigation.tsx @@ -7,7 +7,7 @@ const navigation: ProductNavigationItems = [ const navigationAuthenticated: ProductNavigationItems = [ { href: '/offers/submit', name: 'Analyze your offers' }, - { href: '/offers/dashboard', name: 'Your repository' }, + { href: '/offers/dashboard', name: 'Your dashboard' }, { href: '/offers/features', name: 'Features' }, ]; diff --git a/apps/portal/src/components/offers/offersSubmission/OffersProfileSave.tsx b/apps/portal/src/components/offers/offersSubmission/OffersProfileSave.tsx index 351e8c4c..efc0db79 100644 --- a/apps/portal/src/components/offers/offersSubmission/OffersProfileSave.tsx +++ b/apps/portal/src/components/offers/offersSubmission/OffersProfileSave.tsx @@ -34,7 +34,7 @@ export default function OffersProfileSave({ }, onSuccess: () => { showToast({ - title: `Saved to your repository!`, + title: `Saved to your dashboard!`, variant: 'success', }); }, @@ -95,8 +95,8 @@ export default function OffersProfileSave({

If you do not want to keep the edit link, you can opt to save this - profile under your account's respository. It will still only be - editable by you. + profile under your account's dashboard. It will still only be editable + by you.