Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(core): force update of elliptic package #4746

Merged
merged 2 commits into from
Feb 19, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 3 additions & 14 deletions apps/consent/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand All @@ -20,18 +20,7 @@ export default function RootLayout({ children }: { children: React.ReactNode })
<html lang="en">
<Script src="/gt.js" />
<body className={inter.className}>
<ToastContainer
position="top-center"
autoClose={5000}
hideProgressBar={false}
newestOnTop={false}
closeOnClick
rtl={false}
pauseOnFocusLoss
draggable
pauseOnHover
theme="light"
/>
<ToastProvider />
<Theme>{children}</Theme>
</body>
</html>
Expand Down
20 changes: 20 additions & 0 deletions apps/consent/components/toast-provider.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
"use client"

import { ToastContainer } from "react-toastify"

export default function ToastProvider() {
return (
<ToastContainer
position="top-center"
autoClose={5000}
hideProgressBar={false}
newestOnTop={false}
closeOnClick
rtl={false}
pauseOnFocusLoss
draggable
pauseOnHover
theme="light"
/>
)
}
1 change: 1 addition & 0 deletions apps/consent/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
13 changes: 7 additions & 6 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading