Skip to content

Commit

Permalink
fix(core): force update of elliptic package (#4746)
Browse files Browse the repository at this point in the history
* fix(core): force update of ellptic package

* fix: consent lint issues
  • Loading branch information
dolcalmi authored Feb 19, 2025
1 parent 52b9d5d commit a9f31e8
Show file tree
Hide file tree
Showing 5 changed files with 33 additions and 21 deletions.
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.

0 comments on commit a9f31e8

Please sign in to comment.