diff --git a/apps/consent/app/layout.tsx b/apps/consent/app/layout.tsx
index 549bc99a45..bc698ea134 100644
--- a/apps/consent/app/layout.tsx
+++ b/apps/consent/app/layout.tsx
@@ -5,9 +5,9 @@ import "react-toastify/dist/ReactToastify.css"
import Script from "next/script"
import type { Metadata } from "next"
import { Inter_Tight } from "next/font/google"
-import { ToastContainer } from "react-toastify"
-import Theme from "../components/next-themes-provider"
+import Theme from "@/components/next-themes-provider"
+import ToastProvider from "@/components/toast-provider"
const inter = Inter_Tight({ subsets: ["latin"] })
export const metadata: Metadata = {
@@ -20,18 +20,7 @@ export default function RootLayout({ children }: { children: React.ReactNode })
-
+
{children}
diff --git a/apps/consent/components/toast-provider.tsx b/apps/consent/components/toast-provider.tsx
new file mode 100644
index 0000000000..368a6cc5d2
--- /dev/null
+++ b/apps/consent/components/toast-provider.tsx
@@ -0,0 +1,20 @@
+"use client"
+
+import { ToastContainer } from "react-toastify"
+
+export default function ToastProvider() {
+ return (
+
+ )
+}
diff --git a/apps/consent/package.json b/apps/consent/package.json
index 983a63d7eb..320fbd0921 100644
--- a/apps/consent/package.json
+++ b/apps/consent/package.json
@@ -5,6 +5,7 @@
"scripts": {
"dev": "next dev -p 3000",
"build": "next build",
+ "lint": "next lint",
"start": "next start",
"lint:fix": "eslint --max-warnings 0 --fix --ext .ts,.tsx .",
"codegen": "graphql-codegen --config codegen.yml",
diff --git a/package.json b/package.json
index 7b9c3deba7..c99c870f54 100644
--- a/package.json
+++ b/package.json
@@ -14,7 +14,8 @@
"resolutions": {
"@types/ws": "^8.5.12",
"protobufjs": "7.2.5",
- "http-cache-semantics": "4.1.1"
+ "http-cache-semantics": "4.1.1",
+ "elliptic": "^6.6.1"
},
"packageManager": "pnpm@8.7.6"
}
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 353488c9ba..99305f6343 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -8,6 +8,7 @@ overrides:
'@types/ws': ^8.5.12
protobufjs: 7.2.5
http-cache-semantics: 4.1.1
+ elliptic: ^6.6.1
importers:
@@ -11329,8 +11330,8 @@ packages:
dependencies:
'@babel/runtime': 7.26.0
'@emotion/cache': 11.11.0
- '@emotion/react': 11.11.1(@types/react@18.2.79)(react@18.2.0)
- '@emotion/styled': 11.11.0(@emotion/react@11.11.1)(@types/react@18.2.79)(react@18.2.0)
+ '@emotion/react': 11.11.1(@types/react@18.2.62)(react@18.2.0)
+ '@emotion/styled': 11.11.0(@emotion/react@11.11.1)(@types/react@18.2.62)(react@18.2.0)
csstype: 3.1.3
prop-types: 15.8.1
react: 18.2.0
@@ -22689,8 +22690,8 @@ packages:
/electron-to-chromium@1.5.77:
resolution: {integrity: sha512-AnJSrt5JpRVgY6dgd5yccguLc5A7oMSF0Kt3fcW+Hp5WTuFbl5upeSFZbMZYy2o7jhmIhU8Ekrd82GhyXUqUUg==}
- /elliptic@6.5.4:
- resolution: {integrity: sha512-iLhC6ULemrljPZb+QutR5TQGB+pdW6KGD5RSegS+8sorOZT+rdQFbsQFJgvN3eRqNALqJer4oQ16YvJHlU8hzQ==}
+ /elliptic@6.6.1:
+ resolution: {integrity: sha512-RaddvvMatK2LJHqFJ+YA4WysVN5Ita9E35botqIYspQ4TkRAlCicdzKOjlyv/1Za5RyTNn7di//eEV0uTAfe3g==}
dependencies:
bn.js: 4.12.0
brorand: 1.1.0
@@ -33186,7 +33187,7 @@ packages:
engines: {node: '>=10.0.0'}
requiresBuild: true
dependencies:
- elliptic: 6.5.4
+ elliptic: 6.6.1
node-addon-api: 2.0.2
node-gyp-build: 4.7.1
dev: false
@@ -34714,7 +34715,7 @@ packages:
bindings: 1.5.0
bn.js: 4.12.0
create-hmac: 1.1.7
- elliptic: 6.5.4
+ elliptic: 6.6.1
nan: 2.18.0
dev: false