diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS
new file mode 100644
index 0000000000..f80d334591
--- /dev/null
+++ b/.github/CODEOWNERS
@@ -0,0 +1,2 @@
+**/project.json @darkskygit
+**/pnpm-lock.yaml @darkskygit
diff --git a/packages/app/package.json b/packages/app/package.json
index 00b96a7fd1..ab9571a953 100644
--- a/packages/app/package.json
+++ b/packages/app/package.json
@@ -45,7 +45,7 @@
"@types/react": "18.0.20",
"@types/react-dom": "18.0.6",
"@types/wicg-file-system-access": "^2020.9.5",
- "chalk-next": "^6.1.5",
+ "chalk": "^4.1.2",
"eslint": "8.22.0",
"eslint-config-next": "12.3.1",
"eslint-config-prettier": "^8.5.0",
diff --git a/packages/app/src/components/contact-modal/index.tsx b/packages/app/src/components/contact-modal/index.tsx
index 50c1e1b530..921b34ba65 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 738e344d48..cfd2813de5 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 a4c7b8dbde..604d71000f 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 3052199c4d..1b4ec7434a 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')}