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.
{
- // SetSaved(true);
+ setSaved(true);
showToast({
title: `Saved to dashboard!`,
variant: 'success',
@@ -79,7 +79,7 @@ export default function ProfileHeader({
});
},
onSuccess: () => {
- // SetSaved(false);
+ setSaved(false);
showToast({
title: `Removed from dashboard!`,
variant: 'success',
@@ -90,7 +90,7 @@ export default function ProfileHeader({
);
const toggleSaved = () => {
- if (isSaved) {
+ if (saved) {
unsaveMutation.mutate({ profileId: offerProfileId as string });
} else {
saveMutation.mutate({
@@ -111,10 +111,10 @@ export default function ProfileHeader({
disabled={
isLoading || saveMutation.isLoading || unsaveMutation.isLoading
}
- icon={isSaved ? BookmarkIconSolid : BookmarkIconOutline}
+ icon={saved ? BookmarkIconSolid : BookmarkIconOutline}
isLabelHidden={true}
isLoading={saveMutation.isLoading || unsaveMutation.isLoading}
- label={isSaved ? 'Remove from account' : 'Save to your account'}
+ label={saved ? 'Remove from account' : 'Save to your account'}
size="md"
variant="tertiary"
onClick={toggleSaved}
diff --git a/apps/portal/src/pages/offers/dashboard.tsx b/apps/portal/src/pages/offers/dashboard.tsx
index b0da84b1..494748c7 100644
--- a/apps/portal/src/pages/offers/dashboard.tsx
+++ b/apps/portal/src/pages/offers/dashboard.tsx
@@ -71,11 +71,11 @@ export default function ProfilesDashboard() {
{!userProfilesQuery.isLoading && (
- Your repository
+ Your dashboard
- Save your offer profiles to respository to easily access and edit
- them later.
+ Save your offer profiles to dashboard to easily access and edit them
+ later.