diff --git a/packages/app/src/components/contact-modal/index.tsx b/packages/app/src/components/contact-modal/index.tsx
index 50c1e1b53..921b34ba6 100644
--- a/packages/app/src/components/contact-modal/index.tsx
+++ b/packages/app/src/components/contact-modal/index.tsx
@@ -57,7 +57,10 @@ type TransitionsModalProps = {
onClose: () => void;
};
-export const ContactModal = ({ open, onClose }: TransitionsModalProps) => {
+export const ContactModal = ({
+ open,
+ onClose,
+}: TransitionsModalProps): JSX.Element => {
const { t } = useTranslation();
const rightLinkList = [
{
diff --git a/packages/app/src/components/header/header-right-items/editor-option-menu.tsx b/packages/app/src/components/header/header-right-items/editor-option-menu.tsx
index 738e344d4..cfd2813de 100644
--- a/packages/app/src/components/header/header-right-items/editor-option-menu.tsx
+++ b/packages/app/src/components/header/header-right-items/editor-option-menu.tsx
@@ -37,12 +37,12 @@ const PopoverContent = () => {
onClick={() => {
toggleFavoritePage(id);
toast(
- !favorite ? t('Removed to Favourites') : t('Added to Favourites')
+ favorite ? t('Removed from Favourites') : t('Added to Favourites')
);
}}
icon={favorite ? : }
>
- {favorite ? t('Remove to favourites') : t('Add to favourites')}
+ {favorite ? t('Remove from favourites') : t('Add to favourites')}
: }
diff --git a/packages/app/src/components/page-list/index.tsx b/packages/app/src/components/page-list/index.tsx
index a4c7b8dbd..604d71000 100644
--- a/packages/app/src/components/page-list/index.tsx
+++ b/packages/app/src/components/page-list/index.tsx
@@ -45,7 +45,7 @@ const FavoriteTag = ({
e.stopPropagation();
toggleFavoritePage(id);
toast(
- !favorite ? t('Removed to Favourites') : t('Added to Favourites')
+ favorite ? t('Removed from Favourites') : t('Added to Favourites')
);
}}
style={{
diff --git a/packages/app/src/components/page-list/operation-cell.tsx b/packages/app/src/components/page-list/operation-cell.tsx
index 3052199c4..1b4ec7434 100644
--- a/packages/app/src/components/page-list/operation-cell.tsx
+++ b/packages/app/src/components/page-list/operation-cell.tsx
@@ -27,12 +27,12 @@ export const OperationCell = ({ pageMeta }: { pageMeta: PageMeta }) => {
onClick={() => {
toggleFavoritePage(id);
toast(
- !favorite ? t('Removed to Favourites') : t('Added to Favourites')
+ favorite ? t('Removed from Favourites') : t('Added to Favourites')
);
}}
icon={favorite ? : }
>
- {favorite ? t('Remove to favourites') : t('Add to favourites')}
+ {favorite ? t('Remove from favourites') : t('Add to favourites')}