Skip to content

⚡️⚡️⚡️ Self-hosted collaborative bookmark manager to collect, read, annotate, and fully preserve what matters, all in one place.

bug fix

daniel31x13f7526df008b8
diff --git a/apps/web/components/ConfirmationModal.tsx b/apps/web/components/ConfirmationModal.tsx
index e58af7b1..9f745b8d 100644
--- a/apps/web/components/ConfirmationModal.tsx
+++ b/apps/web/components/ConfirmationModal.tsx
@@ -1,6 +1,6 @@
import React, { ReactNode } from "react";
import Button from "./ui/Button";
-import { useTranslation } from "react-i18next";
+import { useTranslation } from "next-i18next";
import Modal from "./Modal";
type Props = {
diff --git a/apps/web/hooks/useArchivalTags.ts b/apps/web/hooks/useArchivalTags.ts
index f3840e3d..d11aa637 100644
--- a/apps/web/hooks/useArchivalTags.ts
+++ b/apps/web/hooks/useArchivalTags.ts
@@ -1,7 +1,10 @@
import { Tag } from "@linkwarden/prisma/client";
-import { ArchivalOptionKeys, ArchivalTagOption } from "@linkwarden/types/types";
+import {
+ ArchivalOptionKeys,
+ ArchivalTagOption,
+} from "@linkwarden/types/inputSelect";
import { useState, useEffect } from "react";
-import { useTranslation } from "react-i18next";
+import { useTranslation } from "next-i18next";
import { isArchivalTag } from "@linkwarden/lib";
const useArchivalTags = (initialTags: Tag[]) => {
diff --git a/apps/web/package.json b/apps/web/package.json
index d1cafc12..152ce7a4 100644
--- a/apps/web/package.json
+++ b/apps/web/package.json
@@ -22,8 +22,8 @@
"@linkwarden/filesystem": "*",
"@linkwarden/lib": "*",
"@linkwarden/prisma": "*",
- "@linkwarden/types": "*",
"@linkwarden/router": "*",
+ "@linkwarden/types": "*",
"@phosphor-icons/core": "^2.1.1",
"@phosphor-icons/react": "^2.1.7",
"@stripe/stripe-js": "^1.54.1",
@@ -33,7 +33,7 @@
"@types/formidable": "^3.4.5",
"@types/node": "^20.10.4",
"@types/nodemailer": "^6.4.8",
- "@types/react": "18.2.14",
+ "@types/react": "18.3.20",
"@types/react-dom": "18.2.7",
"@types/rss": "^0.0.32",
"axios": "^1.5.1",
diff --git a/apps/web/tsconfig.json b/apps/web/tsconfig.json
index a53d36e8..f4ab65fd 100644
--- a/apps/web/tsconfig.json
+++ b/apps/web/tsconfig.json
@@ -19,11 +19,6 @@
"@/*": ["./*"]
}
},
- "include": [
- "next-env.d.ts",
- "**/*.ts",
- "**/*.tsx",
- "../../packages/lib/formatStats.ts"
- ],
+ "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx"],
"exclude": ["node_modules"]
}
diff --git a/yarn.lock b/yarn.lock
index f6a677e6..3f527105 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -4450,7 +4450,7 @@
dependencies:
"@types/react" "*"
-"@types/react@*", "@types/[email protected]":
+"@types/react@*":
version "18.2.14"
resolved "https://registry.yarnpkg.com/@types/react/-/react-18.2.14.tgz#fa7a6fecf1ce35ca94e74874f70c56ce88f7a127"
integrity sha512-A0zjq+QN/O0Kpe30hA1GidzyFjatVvrpIvWLxD+xv67Vt91TWWgco9IvrJBkeyHm1trGaFS/FSGqPlhyeZRm0g==
@@ -4459,7 +4459,7 @@
"@types/scheduler" "*"
csstype "^3.0.2"
-"@types/react@^18", "@types/react@~18.3.12":
+"@types/[email protected]", "@types/react@^18", "@types/react@~18.3.12":
version "18.3.20"
resolved "https://registry.yarnpkg.com/@types/react/-/react-18.3.20.tgz#b0dccda9d2f1bc24d2a04b1d0cb5d0b9a3576ad3"
integrity sha512-IPaCZN7PShZK/3t6Q87pfTkRm6oLTd4vztyoj+cbHUF1g3FfVb2tFIL79uCRKEfv16AhqDMBywP2VW3KIZUvcg==